Add time display to tmux status bar

Add %H:%M time format to the right side of the tmux status bar alongside
the existing prefix indicator. Increased status-right-length to 30 to
accommodate the time display.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Yan Lin 2025-07-30 23:01:07 +02:00
parent 76a8fdeff8
commit 4dffd92c1d

View file

@ -35,9 +35,9 @@
# Status bar content # Status bar content
set -g status-left-length 40 set -g status-left-length 40
set -g status-right-length 20 set -g status-right-length 30
set -g status-left ' #S ' set -g status-left ' #S '
set -g status-right '#{?client_prefix,#[reverse]<Prefix>#[noreverse] ,}' set -g status-right '#{?client_prefix,#[reverse]<Prefix>#[noreverse] ,}%H:%M '
# Window status format # Window status format
set -g window-status-format ' #I:#W ' set -g window-status-format ' #I:#W '