summaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2021-02-13 18:37:11 +0100
committerDaniel Schadt <kingdread@gmx.de>2021-02-13 18:37:11 +0100
commitbbdf8442157cccde4d6c492dc87ea6c2573928f0 (patch)
treee0c080f5309a29e736f470119f2d4ef26b97c8a0 /tmux
parentebfa3190f61fd92a1ecf1171d2526ee0c791d4ff (diff)
downloaddotfiles-bbdf8442157cccde4d6c492dc87ea6c2573928f0.tar.gz
dotfiles-bbdf8442157cccde4d6c492dc87ea6c2573928f0.tar.bz2
dotfiles-bbdf8442157cccde4d6c492dc87ea6c2573928f0.zip
tmux: fix global status bar change
With -g, we enable/disable the status bar globally, which is not what we want - that would mean that all sessions will start showing the bar if just one session creates a new window. Instead, we do it only for the current session.
Diffstat (limited to 'tmux')
-rw-r--r--tmux/.tmux.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf
index 1fc7f0c..9f61e37 100644
--- a/tmux/.tmux.conf
+++ b/tmux/.tmux.conf
@@ -2,7 +2,7 @@ set -s escape-time 0
set -g default-terminal "screen-256color"
set -g mouse on
-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"'
+set -g status off
+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"'
set -g status-position "top"