tmux/claude: at-a-glance session-state counts in the status bar #5

Open
opened 2026-06-03 18:19:35 +00:00 by jmz · 0 comments
Owner

Context

The two-line status bar has room in the right segment for a fleet-wide summary.
@claude_status is set per window.

Proposal

Render an at-a-glance count of session states in status-right, e.g.
⏳3 ❓1 ✓1 (busy / needs-permission / done) so one glance tells you the state
of every Claude window without scanning tabs.

Implementation sketch

  • Helper script iterates tmux list-windows -a -F '#{@claude_status}', tallies
    states, prints a compact glyph+count string.
  • Wire into the oh-my-tmux tmux_conf_theme_status_right (or a #() shell call)
    in dot_config/tmux/tmux.conf.local.tmpl, refreshed on status-interval.
  • Colour each count to match the existing marker palette
    (green/orange/red).

Effort

Small–medium (helper + status-right wiring; mind status redraw cost).

Part of the "attention routing" bundle.

## Context The two-line status bar has room in the right segment for a fleet-wide summary. `@claude_status` is set per window. ## Proposal Render an at-a-glance count of session states in `status-right`, e.g. `⏳3 ❓1 ✓1` (busy / needs-permission / done) so one glance tells you the state of every Claude window without scanning tabs. ## Implementation sketch - Helper script iterates `tmux list-windows -a -F '#{@claude_status}'`, tallies states, prints a compact glyph+count string. - Wire into the oh-my-tmux `tmux_conf_theme_status_right` (or a `#()` shell call) in `dot_config/tmux/tmux.conf.local.tmpl`, refreshed on `status-interval`. - Colour each count to match the existing marker palette (green/orange/red). ## Effort Small–medium (helper + status-right wiring; mind status redraw cost). Part of the "attention routing" bundle.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jmz/dotfiles-public#5
No description provided.