diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-07-08 17:03:20 +0000 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-07-08 17:14:14 +0000 |
| commit | 82ec91b4d2c253c6ccb783f960a2788f230d6ad1 (patch) | |
| tree | 94dad925340787e5a045d9bb0d094f71dedce036 /modules/terminal/system/programs/tmux.nix | |
| parent | cfe198ee85f3c5ee41f4221f49b73dd492b42fdc (diff) | |
start avoiding lib.enum; start using hjem generators
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' |
