diff --git a/.config/ohmyposh/zen.toml b/.config/ohmyposh/zen.toml index 6e094f2..ae4d648 100755 --- a/.config/ohmyposh/zen.toml +++ b/.config/ohmyposh/zen.toml @@ -27,6 +27,12 @@ final_space = true [blocks.segments.properties] cache_duration = 'none' style = 'full' +[[blocks.segments]] + type = "text" + template = "{{if eq .Env.name \"nix-shell-env\"}} (dev){{end}}" + foreground = "yellow" + background = "transparent" + style = "plain" [[blocks.segments]] template = ' {{ .HEAD }}{{ if or (.Working.Changed) (.Staging.Changed) }}*{{ end }} {{ if gt .Behind 0 }}⇣{{ end }}{{ if gt .Ahead 0 }}⇡{{ end }}' diff --git a/aliases/ndev.sh b/aliases/ndev.sh new file mode 100755 index 0000000..b19951d --- /dev/null +++ b/aliases/ndev.sh @@ -0,0 +1 @@ +nix develop -c zsh diff --git a/custom/waybar/style.css b/custom/waybar/style.css index 55c065e..c9458d9 100644 --- a/custom/waybar/style.css +++ b/custom/waybar/style.css @@ -275,7 +275,7 @@ label:focus { } #network.disconnected { - background-color: @alert-bg-color; + background-color: @bg-color; } #custom-vpn.disconnected {