tmux: highlight window when a bell is received.
This commit is contained in:
@@ -49,6 +49,14 @@ set -sg escape-time 10
|
||||
|
||||
set -g history-limit 10000
|
||||
|
||||
# Flag a background window in the status bar when its Claude Code session
|
||||
# rings the terminal bell (permission prompt / task done while unfocused).
|
||||
# bell-action=none stops tmux from ever passing the actual BEL through to
|
||||
# Alacritty (no beep, no flash) -- monitor-bell's per-window tracking for the
|
||||
# status-line highlight is independent of that and keeps working.
|
||||
setw -g monitor-bell on
|
||||
set -g bell-action none
|
||||
|
||||
# Minimal status bar (session + window list only), styled to match the Nord
|
||||
# theme already used in alacritty.toml.
|
||||
set -g status-position bottom
|
||||
@@ -60,6 +68,7 @@ setw -g window-status-current-style "bg=#88C0D0,fg=#2E3440,bold"
|
||||
setw -g window-status-current-format " #I:#W "
|
||||
setw -g window-status-format " #I:#W "
|
||||
setw -g window-status-style "fg=#4C566A"
|
||||
setw -g window-status-bell-style "bg=#BF616A,fg=#2E3440,bold"
|
||||
|
||||
set -g pane-border-style "fg=#3B4252"
|
||||
set -g pane-active-border-style "fg=#88C0D0"
|
||||
|
||||
Reference in New Issue
Block a user