Following the upgrade to tmux version 2.9a, I had to update my configuration file as some of the settings had name changes. The colors for the window title section of my status bar no longer work. Here is that part of my configuration file:
# set color for status bar
set-option -g status-style bg=colour235
set-option -g status-style fg=yellow
set-option -g status-style dim
# set window title list colors
set-window-option -g window-status-style fg=brightblue
set-window-option -g window-status-style bg=colour236
set-window-option -g window-status-style dim
# active window title colors
set-window-option -g window-status-current-style fg=brightred
set-window-option -g window-status-current-style bg=colour236
set-window-option -g window-status-current-style bright
No matter what colors or brightness I select the title area of the status bar shows white text. My entire tmux configuration file is here: https://github.com/zanshin/dotfiles/blob/master/tmux/tmux.conf
The syntax has changed slightly (I like the new one). You can now put multiple attribute on the same line separated with a comma.
With the new syntax, the configuration you've in your question became:
# set color for status bar
set-option -g status-style bg=colour235,fg=yellow,dim
# set window title list colors
set-window-option -g window-status-style fg=brightblue,bg=colour236,dim
# active window title colors
set-window-option -g window-status-current-style fg=brightred,bg=colour236,bright
For additiona information you can refer to tmux's FAQ
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With