tmux: make prefix+b toggle both statusline and pane info

This commit is contained in:
Thomas Naderer
2026-02-21 22:24:46 +01:00
parent 2be5018eaf
commit 6d691fd94e

View File

@@ -220,7 +220,7 @@ set -g window-active-style "bg=default"
source-file ~/.config/tmux/themes/gruvbox.tmux source-file ~/.config/tmux/themes/gruvbox.tmux
# Toggle top status bar on/off (Prefix + b) # Toggle top status bar on/off (Prefix + b)
bind b if -F "#{==:#{status},on}" "set -g status off" "set -g status on" bind b if -F "#{==:#{status},on}" "set -g status off ; set -g pane-border-status off" "set -g status on ; set -g pane-border-status top"
# Theme switcher (Prefix + Shift+1/2/3 => !/@/#) # Theme switcher (Prefix + Shift+1/2/3 => !/@/#)
bind ! source-file ~/.config/tmux/themes/gruvbox.tmux bind ! source-file ~/.config/tmux/themes/gruvbox.tmux