about summary refs log tree commit diff
path: root/dotfiles
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2024-04-04 00:12:45 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2024-04-04 00:12:45 +0200
commit0f0508eaf95c4337a3b17d729badf10b9dd55622 (patch)
treeae0fd4da200bb8546826cb440179a560e136b635 /dotfiles
parentDotfiles: Tmux: Use default captpuccin plugin (diff)
downloadnixos-config-0f0508eaf95c4337a3b17d729badf10b9dd55622.tar.gz
nixos-config-0f0508eaf95c4337a3b17d729badf10b9dd55622.tar.bz2
nixos-config-0f0508eaf95c4337a3b17d729badf10b9dd55622.zip
Dotfiles: Tmux: Show process name in window name unless its zsh
Diffstat (limited to 'dotfiles')
-rw-r--r--dotfiles/tmux.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/dotfiles/tmux.conf b/dotfiles/tmux.conf
index c2542a1..b14db0b 100644
--- a/dotfiles/tmux.conf
+++ b/dotfiles/tmux.conf
@@ -51,6 +51,8 @@ set -g @resurrect-capture-pane-contents 'on'
 set -g @resurrect-hook-post-save-all "sed 's/--cmd[^ ]* [^ ]* [^ ]*//g' $resurrect_dir/last | sponge $resurrect_dir/last"
 set -g @resurrect-strategy-nvim 'session'
 set -g @resurrect-processes '"~nvim"'
+set -g @catppuccin_window_default_text "#{?#{==:#{pane_current_command},zsh},#{b:pane_current_path},#{pane_current_command}}"
+set -g @catppuccin_window_current_text "#{?#{==:#{pane_current_command},zsh},#{b:pane_current_path},#{pane_current_command}}"
 set -g @catppuccin_flavour 'mocha'
 set -g @continuum-restore 'on'
 set -g @continuum-save-interval 4