From e593ca2c50655517ca7dcba07d695174fd134c12 Mon Sep 17 00:00:00 2001 From: Christian Baer Date: Tue, 5 Nov 2024 21:31:22 +0100 Subject: [PATCH] tmux: Fixed wrong color for status indicator and window title --- .config/tmux/tmux.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index abb6709..f76dffc 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -44,7 +44,7 @@ set -g status-interval 1 set-option -g automatic-rename on # Set window title to the current directory if the process is zsh, otherwise show the process name with arguments -set-option -g automatic-rename-format '#{?#{==:#{pane_current_command},zsh},#{pane_current_path},#(ps --no-headers -o args --ppid $(tmux display-message -p "#{pane_pid}"))}' +set-option -g automatic-rename-format '#{?#{==:#{pane_current_command},zsh},#{pane_current_path},#{pane_current_command}}' # Set the color of the clock mode set -g clock-mode-colour "#8bd5ca" @@ -76,7 +76,7 @@ set -g status-left-length 30 set -ga status-left "#[bg=#444444,fg=white] #S " # Display different colors for the session name based on whether the prefix is active -set -ga status-left '#{?client_prefix,#[bg=#ed8796] S ,#[bg=#a6da95] S }' +set -ga status-left '#[fg=black]#{?client_prefix,#[bg=#ed8796] S ,#[bg=#a6da95] S }' set -ga status-left '#[bg=#262626] ' # Set window status format to include the current directory or command