dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 1331a0810e75c83fe49492fb678bb7f98c939c81
parent 226f174ee738f82af42af302a5da6082cb10ea5d
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Fri, 14 Jun 2019 20:20:10 +0200

Do not change tmux status visibility globally

Diffstat:
M.tmux.conf | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.tmux.conf b/.tmux.conf @@ -48,9 +48,9 @@ bind -r -n M-t set -g status bind -r t set -g status # Hide status bar if there is only one window -if -F "#{==:#{session_windows},1}" "set -g status off" "set -g status on" -set-hook -g window-linked 'if -F "#{==:#{session_windows},1}" "set -g status off" "set -g status on"' -set-hook -g window-unlinked 'if -F "#{==:#{session_windows},1}" "set -g status off" "set -g status on"' +if -F "#{==:#{session_windows},1}" "set status off" "set status on" +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"' # Right section of status bar if-shell 'uname | grep -qi Darwin' "set -g status-right \"#[fg=#81a2be]#(/usr/local/bin/mpc | head -n 1 | sed 's/volume.*$//') #[fg=cyan]#(~/.local/bin/battery-osx) #(~/.local/bin/mailstatus) #[fg=yellow]#(uptime|sed 's/.* //') #[fg=#666666]%F #[fg=#bababa]%R\""