tmux: add prefix+b toggle for top status bar

This commit is contained in:
Thomas Naderer
2026-02-21 22:12:04 +01:00
parent e0a1ffeac1
commit 650d595824

View File

@@ -217,6 +217,9 @@ set -g window-active-style "bg=default"
# RELOAD CONFIG
# ============================================
# Toggle top status bar on/off (Prefix + b)
bind b if -F "#{==:#{status},on}" "set -g status off ; display-message 'Status: OFF'" "set -g status on ; display-message 'Status: ON'"
# Reload config file with message
bind r source-file ~/.config/tmux/tmux.conf \; display-message "󰑓 Config reloaded!"