Skip to content

Commit 64eb1ff

Browse files
drnclaude
andauthored
Use absolute-centre for tmux status bar centering
Switch from 'centre' to 'absolute-centre' status-justify so the window list is centered at the true midpoint of the status bar, regardless of left/right content width. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent f30ba24 commit 64eb1ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

home/tmux.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ set -g status-left '#(tmux-status left `tmux display -p "#{client_width}"`)'
110110
set -g status-right-style 'none'
111111
set -g status-right '#(tmux-status right `tmux display -p "#{client_width}"`)'
112112
# configure window list status-line component
113-
set -g status-justify 'centre'
113+
set -g status-justify 'absolute-centre'
114114
setw -g window-status-format '#(tmux-status center)'
115115
setw -g window-status-current-format '#(tmux-status center-current)'
116116
setw -g window-status-separator ''

0 commit comments

Comments
 (0)