diff options
Diffstat (limited to 'modules/terminal/system/programs/tmux.nix')
| -rw-r--r-- | modules/terminal/system/programs/tmux.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/terminal/system/programs/tmux.nix b/modules/terminal/system/programs/tmux.nix index 63b9296..18e1593 100644 --- a/modules/terminal/system/programs/tmux.nix +++ b/modules/terminal/system/programs/tmux.nix @@ -132,7 +132,11 @@ set-hook -g window-linked 'if -F "#{==:#{session_windows},1}" { set status off } { set status on }' set-hook -g window-unlinked 'if -F "#{==:#{session_windows},1}" { set status off } { set status on }' - run-shell "${scriptsDir}/bar.sh" + ${ + if (cfg.theme == "catppuccin") + then "run-shell '${scriptsDir}/bar.sh'" + else "" + } # Sessions set-hook -ag client-detached 'run-shell ${scriptsDir}/clean-sessions.sh' |
