changing the prompt a bit to show a few important env vars.
This commit is contained in:
parent
57c49eefed
commit
c5446b953a
3 changed files with 21 additions and 24 deletions
|
|
@ -8,13 +8,14 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
format = lib.concatStrings [
|
format = lib.concatStrings [
|
||||||
"[](color_orange)"
|
"[](color_red)"
|
||||||
"$shell"
|
"$shell"
|
||||||
"\${env_var.SHPOOL_SESSION_NAME}"
|
|
||||||
"$username"
|
"$username"
|
||||||
"[@](bg:color_orange)"
|
"[@](bg:color_red)"
|
||||||
"$hostname"
|
"$hostname"
|
||||||
"[ ](bg:color_orange)"
|
"[](bg:color_orange fg:color_red)"
|
||||||
|
"\${env_var.SHPOOL_SESSION_NAME}"
|
||||||
|
"$container"
|
||||||
"[](bg:color_yellow fg:color_orange)"
|
"[](bg:color_yellow fg:color_orange)"
|
||||||
"$directory"
|
"$directory"
|
||||||
"[](fg:color_yellow bg:color_aqua)"
|
"[](fg:color_yellow bg:color_aqua)"
|
||||||
|
|
@ -44,18 +45,11 @@
|
||||||
color_red = "#cc241d";
|
color_red = "#cc241d";
|
||||||
color_yellow = "#d79921";
|
color_yellow = "#d79921";
|
||||||
};
|
};
|
||||||
env_var.SHPOOL_SESSION_NAME = {
|
|
||||||
disabled = false;
|
|
||||||
symbol = "🌊";
|
|
||||||
variable = "SHPOOL_SESSION_NAME";
|
|
||||||
format = "[$symbol$env_value ]($style)";
|
|
||||||
style = "bg:color_orange";
|
|
||||||
};
|
|
||||||
hostname = {
|
hostname = {
|
||||||
ssh_only = false;
|
ssh_only = false;
|
||||||
ssh_symbol = "🌐";
|
ssh_symbol = "🌐";
|
||||||
format = "[$hostname $ssh_symbol]($style)";
|
format = "[$hostname $ssh_symbol]($style)";
|
||||||
style = "bg:color_orange";
|
style = "bg:color_red";
|
||||||
};
|
};
|
||||||
shell = {
|
shell = {
|
||||||
disabled = false;
|
disabled = false;
|
||||||
|
|
@ -64,7 +58,7 @@
|
||||||
zsh_indicator = "%";
|
zsh_indicator = "%";
|
||||||
nu_indicator = ">";
|
nu_indicator = ">";
|
||||||
format = "[$indicator ]($style)";
|
format = "[$indicator ]($style)";
|
||||||
style = "bg:color_orange";
|
style = "bg:color_red";
|
||||||
};
|
};
|
||||||
fill = {
|
fill = {
|
||||||
symbol = " ";
|
symbol = " ";
|
||||||
|
|
@ -72,10 +66,22 @@
|
||||||
};
|
};
|
||||||
username = {
|
username = {
|
||||||
show_always = true;
|
show_always = true;
|
||||||
style_user = "bg:color_orange fg:color_fg0";
|
style_user = "bg:color_red fg:color_fg0";
|
||||||
style_root = "bg:color_orange fg:color_fg0";
|
style_root = "bg:color_red fg:color_fg0";
|
||||||
format = "[$user]($style)";
|
format = "[$user]($style)";
|
||||||
};
|
};
|
||||||
|
env_var.SHPOOL_SESSION_NAME = {
|
||||||
|
disabled = false;
|
||||||
|
symbol = "🌊";
|
||||||
|
format = "[$symbol$env_value ]($style)";
|
||||||
|
style = "bg:color_orange";
|
||||||
|
};
|
||||||
|
container = {
|
||||||
|
disabled = false;
|
||||||
|
symbol = "📦";
|
||||||
|
format = "[$symbol$name ]($style)";
|
||||||
|
style = "bg:color_orange";
|
||||||
|
};
|
||||||
directory = {
|
directory = {
|
||||||
style = "fg:color_fg0 bg:color_yellow";
|
style = "fg:color_fg0 bg:color_yellow";
|
||||||
format = "[ $path ]($style)";
|
format = "[ $path ]($style)";
|
||||||
|
|
|
||||||
|
|
@ -96,14 +96,6 @@ in {
|
||||||
description = "Home Automation";
|
description = "Home Automation";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
|
||||||
Grocy = {
|
|
||||||
icon = "sh-grocy.svg";
|
|
||||||
href = "https://grocy.venberg.xyz";
|
|
||||||
siteMonitor = "https://grocy.venberg.xyz";
|
|
||||||
description = "Family ERP";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
Radicale = {
|
Radicale = {
|
||||||
icon = "sh-radicale.svg";
|
icon = "sh-radicale.svg";
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,6 @@ inputs.nixpkgs.lib.nixosSystem {
|
||||||
../../configs/nixos/secrets.nix
|
../../configs/nixos/secrets.nix
|
||||||
../../configs/nixos/jellyfin.nix
|
../../configs/nixos/jellyfin.nix
|
||||||
../../configs/nixos/syncthing.nix
|
../../configs/nixos/syncthing.nix
|
||||||
../../configs/nixos/grocy.nix
|
|
||||||
../../configs/nixos/cyberchef.nix
|
../../configs/nixos/cyberchef.nix
|
||||||
../../configs/nixos/miniserve-directory.nix
|
../../configs/nixos/miniserve-directory.nix
|
||||||
../../configs/nixos/miniserve-tmp-upload.nix
|
../../configs/nixos/miniserve-tmp-upload.nix
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue