tmux: show session name in status bar

Add a nova 'session' segment (#S) on the right side, styled with the
same colors as the window tabs (#6272a4 bg / #f8f8f2 fg).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Anton Volnuhin 2026-05-30 02:13:55 +03:00
parent fdc149e9ec
commit a967a4981e

View File

@ -65,6 +65,9 @@ set -g @nova-status-style-fg "terminal"
set -g @nova-segment-mode "#{?client_prefix,Ω,ω}"
set -g @nova-segment-mode-colors "#50fa7b #282a36"
set -g @nova-segment-session " #S"
set -g @nova-segment-session-colors "#6272a4 #f8f8f2"
set -g @nova-segment-whoami "#(whoami)@#h"
set -g @nova-segment-whoami-colors "#50fa7b #282a36"
@ -73,7 +76,7 @@ set -g window-status-separator ""
set -g @nova-rows 0
set -g @nova-segments-0-left "mode"
set -g @nova-segments-0-right "whoami"
set -g @nova-segments-0-right "session whoami"
# -- display -------------------------------------------------------------------