From 1231244bafa0f48b302b596a407512d494494f3b Mon Sep 17 00:00:00 2001 From: Igor Soarez Date: Fri, 6 Nov 2026 12:57:31 +0200 Subject: status line: color the agent counts in the terminal's named colors, readable in light themes --- packaging/tmux/dingger.tmux | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packaging/tmux/dingger.tmux b/packaging/tmux/dingger.tmux index b0b0951..72f3f27 100644 --- a/packaging/tmux/dingger.tmux +++ b/packaging/tmux/dingger.tmux @@ -1,5 +1,7 @@ -# dingger: herdr-style agent summary after the clock, in herdr's colors: -# × blocked (red, bold) ✓ done (teal) ◐ working (yellow) +# dingger: herdr-style agent summary after the clock: +# × blocked (red, bold) ✓ done (cyan) ◐ working (yellow) +# in the terminal's own named colors, not fixed ones, so they follow its +# theme and stay readable on a light background as on a dark one. # Clicking the status line jumps to the top waiting agent, like the top row # of the menu bar: blocked first, then the longest-done (FIFO), skipping the # window you are already looking at. @@ -9,7 +11,7 @@ # report is in ~/.local/state/dingger/restore.log. # # Source this from your tmux config: source-file /path/to/dingger.tmux -set -g status-right '#{?@dingger_restore,#[range=user|restore]#[fg=#89b4fa#,bold]↺#{@dingger_restore}#[norange default] ,}%d-%b %H:%M#{?#{e|>:#{@dingger_blocked},0}, #[fg=#f38ba8#,bold]×#{@dingger_blocked}#[default],}#{?#{e|>:#{@dingger_done},0}, #[fg=#94e2d5]✓#{@dingger_done}#[default],}#{?#{e|>:#{@dingger_working},0}, #[fg=#f9e2af]◐#{@dingger_working}#[default],}' +set -g status-right '#{?@dingger_restore,#[range=user|restore]#[fg=blue#,bold]↺#{@dingger_restore}#[norange default] ,}%d-%b %H:%M#{?#{e|>:#{@dingger_blocked},0}, #[fg=red#,bold]×#{@dingger_blocked}#[default],}#{?#{e|>:#{@dingger_done},0}, #[fg=cyan]✓#{@dingger_done}#[default],}#{?#{e|>:#{@dingger_working},0}, #[fg=yellow]◐#{@dingger_working}#[default],}' bind -n MouseDown1StatusRight if -F '#{==:#{mouse_status_range},restore}' \ 'run-shell -b "$HOME/.local/bin/dingger restore --report"' \ "run-shell \"$HOME/.local/bin/dingger focus --client '#{client_name}'\"" -- cgit v1.2.3