tmux: export window title name

This commit is contained in:
Primrose 2025-06-05 08:25:46 +02:00
parent 775a2a95b5
commit a47cdfb305
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA

View file

@ -39,6 +39,10 @@ set -g window-status-format " #{pane_current_command}"
set -g window-status-current-style "fg=#{@FG},bold,bg=#{@VISUAL}" set -g window-status-current-style "fg=#{@FG},bold,bg=#{@VISUAL}"
set -g window-status-current-format " #{pane_current_command}" set -g window-status-current-format " #{pane_current_command}"
# Export name to the window (so xmobar can see it)
set -g set-titles on
set -g set-titles-string "#W (#S)"
# pane border (separator) # pane border (separator)
set -g pane-border-style "fg=#{@VISUAL}" set -g pane-border-style "fg=#{@VISUAL}"
set -g pane-active-border-style "fg=#{@ACCENT}" set -g pane-active-border-style "fg=#{@ACCENT}"