tmux: Fixed wrong color for status indicator and window title

This commit is contained in:
Christian Baer 2024-11-05 21:31:22 +01:00
parent 87673142e3
commit e593ca2c50

View File

@ -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