From 42095c06e144833840f51963cad46e91b3dc9aa9 Mon Sep 17 00:00:00 2001 From: alexion Date: Sat, 4 Jul 2026 23:13:51 -0400 Subject: [PATCH] tmux: highlight window when a bell is received. --- .claude/settings.json | 1 + .config/tmux/tmux.conf | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 120000 .claude/settings.json diff --git a/.claude/settings.json b/.claude/settings.json new file mode 120000 index 0000000..b029f31 --- /dev/null +++ b/.claude/settings.json @@ -0,0 +1 @@ +/home/alexion/wrk/claude/settings.json \ No newline at end of file diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 35fc763..c478c78 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -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"