I'm not sure it this is possible but I use a graphical terminal emulator that has a translucent background so I can see the GUI windows behind it (in this case tinted a shade of blue). I want my status Line to have this as its background color.
Asked
Active
Viewed 2.0k times
2 Answers
56
I was able to find this useful example: http://jasonwryan.com/blog/2010/01/07/tmux-terminal-multiplexer/
And it used the color default
.
so what I wanted was:
set status-bg default
EDIT: this might not work in newer versions of tmux, see other answers below

olleicua
- 2,039
- 2
- 21
- 33
-
1`set -g status-bg default` worked for me. – sammy Dec 22 '20 at 11:57
37
The accepted answer from olleicua (to be more specific, the comment from sammy) stopped working for me as of tmux 3.2.
I changed the line to the following and now it's working again:
set-option -g status-style bg=default
The "3.2 questions and comments" thread on the official github page explains why this is the case:
status-fg
andstatus-bg
are now applied beforestatus-style
rather than instead of; this means that if either is set todefault
thestatus-style
colour will be used. To fix, replacestatus-bg default
withstatus-style bg=default
.