I'm trying to have tmux draw my attention to background windows when they have new activity in them, but I'm having trouble with the various -activity- options. It seems as though any setting I give them is always ignored if the window-status-format string contains any value for that setting. E.g. :
# Set window notifications
setw -g monitor-activity on
set-option -gw window-status-activity-style fg=white,bg=red,blink
...
setw -g window-status-format "#[fg=colour231,bg=colour233] #I :#[fg=colour231,bg=colour233] #W "
With the above in my .tmux.conf, the color of the window-status won't change at all. I originally only had the fg
and bg
options in there and thought I was just setting it wrong, but adding the blink
attribute does make the window-status blink on activity. I have even tried passing the -a
flag to
set-option -agw window-status-activity-style fg=white,bg=red,blink
but it made no difference, which is what you'd expect.