tmux
tmux copied to clipboard
`monitor-activity on` causes window to have wrong colors
Is there an existing issue outlining your problem?
- [X] I have searched the existing issues and they do not solve my problem.
Describe your problem.
If you enable activity monitoring like this:
setw -g monitor-activity on
Then window status has the wrong color when there's activity.
Paste your configuration.
I verified removing all my config, and using config 3 from the README:
setw -g monitor-activity on
set -g visual-activity off
set -g @catppuccin_window_left_separator "î‚¶"
set -g @catppuccin_window_right_separator "î‚´ "
set -g @catppuccin_window_middle_separator "â–ˆ "
set -g @catppuccin_window_number_position "left"
set -g @catppuccin_window_default_fill "number"
set -g @catppuccin_window_default_text "#W"
set -g @catppuccin_window_current_fill "number"
set -g @catppuccin_window_current_text "#W"
set -g @catppuccin_status_modules_right "directory user host session"
set -g @catppuccin_status_left_separator " î‚¶"
set -g @catppuccin_status_right_separator "î‚´"
set -g @catppuccin_status_fill "icon"
set -g @catppuccin_status_connect_separator "no"
set -g @catppuccin_directory_text "#{pane_current_path}"
Attach screenshots.
What tmux version are you seeing the issue on?
tmux 3.4
Any additional comments?
No response
That is the default tmux behavior and not something that we can change easily.
For now you can set the style to none: tmux setw window-status-activity-style none then it will just display the activity icon/char (#)
maybe if we rewrite build_window_format to use fg=default in build_window_format tmux setw window-status-activity-style fg=<color> will work.