From a967a4981ef36bf9b227779118c3ec2d8b3d6835 Mon Sep 17 00:00:00 2001 From: Anton Volnuhin Date: Sat, 30 May 2026 02:13:55 +0300 Subject: [PATCH] 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) --- dot_tmux.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dot_tmux.conf b/dot_tmux.conf index 011737b..780dd75 100644 --- a/dot_tmux.conf +++ b/dot_tmux.conf @@ -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 -------------------------------------------------------------------