From a47cdfb305c88483b10dc3aa2a4cd4e56627ddd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Thu, 5 Jun 2025 08:25:46 +0200 Subject: [PATCH] tmux: export window title name --- nix/homeModules/common/tmux/tmux.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nix/homeModules/common/tmux/tmux.conf b/nix/homeModules/common/tmux/tmux.conf index 60b8f34e..688ac639 100644 --- a/nix/homeModules/common/tmux/tmux.conf +++ b/nix/homeModules/common/tmux/tmux.conf @@ -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-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) set -g pane-border-style "fg=#{@VISUAL}" set -g pane-active-border-style "fg=#{@ACCENT}"