diff --git a/home/modules/shell.nix b/home/modules/shell.nix index 92b3809..61e9a2f 100644 --- a/home/modules/shell.nix +++ b/home/modules/shell.nix @@ -270,6 +270,9 @@ in enable = true; enableZshIntegration = true; nix-direnv.enable = true; + config.global = { + hide_env_diff = true; + } stdlib = '' layout_uv() { if [[ ! -d .venv ]]; then diff --git a/home/modules/ui.nix b/home/modules/ui.nix index 094cd4d..515bfe1 100644 --- a/home/modules/ui.nix +++ b/home/modules/ui.nix @@ -194,12 +194,12 @@ in }; urgency_low = { background = c.bg; - foreground = c.fg; + foreground = c.blue; + frame_color = c.blue; }; urgency_normal = { background = c.bg; - foreground = c.blue; - frame_color = c.blue; + foreground = c.fg; }; urgency_critical = { background = c.bg; diff --git a/scripts/mux b/scripts/mux index 303f106..e4347c5 100755 --- a/scripts/mux +++ b/scripts/mux @@ -173,13 +173,9 @@ cmd) query=$(printf '%s' "$result" | head -1) action=$(printf '%s' "$result" | sed -n '2p') [ $rc -eq 130 ] && exit - if [ -n "$action" ]; then - case "$query" in - "$action "*) - tmux $query - exit - ;; - esac + if [ -n "$query" ] && [ "$query" != "$action" ]; then + tmux $query + elif [ -n "$action" ]; then case "$action" in switch-client) pick_session ;; select-window) pick_window ;; @@ -228,8 +224,6 @@ cmd) ;; *) tmux "$action" ;; esac - elif [ -n "$query" ]; then - tmux $query fi ;; *)