feat(tmux): show window names in the status bar and pane titles on the border #107

Merged
lyrathorpe merged 1 commits from feat/tmux-window-and-pane-titles into main 2026-08-28 13:49:33 +01:00
Owner

Catppuccin's window list renders #T, the pane title. Any program in the pane can overwrite that with an OSC escape — zsh writes the hostname, Claude Code writes its current task — so a window renamed with prefix+, was never displayed anywhere.

Status bar now shows #W, the window name, falling back to #T while a window holds a single pane (where the two carry the same information and the pane title is the more useful of the pair).

Pane borders carry the pane title, but only once a window is split. pane-border-status accepts no format, so a window-layout-changed hook recomputes it; verified live that it flips to top on split and back to off when the second pane closes.

Also binds prefix+T for select-pane -T, which has no default binding.

Evaluated with nix eval on the emmathorpe-edaas toplevel; nix fmt clean.

Catppuccin's window list renders `#T`, the pane title. Any program in the pane can overwrite that with an OSC escape — zsh writes the hostname, Claude Code writes its current task — so a window renamed with `prefix+,` was never displayed anywhere. **Status bar** now shows `#W`, the window name, falling back to `#T` while a window holds a single pane (where the two carry the same information and the pane title is the more useful of the pair). **Pane borders** carry the pane title, but only once a window is split. `pane-border-status` accepts no format, so a `window-layout-changed` hook recomputes it; verified live that it flips to `top` on split and back to `off` when the second pane closes. Also binds `prefix+T` for `select-pane -T`, which has no default binding. Evaluated with `nix eval` on the `emmathorpe-edaas` toplevel; `nix fmt` clean.
lyrathorpe added 1 commit 2026-08-28 12:22:48 +01:00
feat(tmux): show window names in the status bar and pane titles on the border
CI / flake (push) Skipped
CI / flake (pull_request) Successful in 4m9s
5bca7e176a
Catppuccin renders #T, the pane title, in the window list. Any program in the
pane can overwrite that with an OSC escape -- the shell writes the hostname and
Claude Code writes its current task -- so a window renamed with prefix+, never
appeared anywhere.

The status bar now shows the window name, falling back to the pane title while a
window holds a single pane. Once a window is split, pane titles appear on the
pane borders instead; pane-border-status takes no format, so a
window-layout-changed hook recomputes it on both split and close. Adds a binding
for select-pane -T, which has no default.
lyrathorpe merged commit 93f1b191c8 into main 2026-08-28 13:49:33 +01:00
lyrathorpe deleted branch feat/tmux-window-and-pane-titles 2026-08-28 13:49:34 +01:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lyrathorpe/nixfiles#107