odedlaz / tmux-onedark-theme

A dark tmux color scheme inspired by Atom's One Dark syntax theme.
MIT License
280 stars 136 forks source link

Support terminal transparency by not setting window backgrounds #9

Closed duganchen closed 5 years ago

duganchen commented 6 years ago

Stop setting the background color of the tmux window. The effect of this change is to make tmux transparent in transparent terminals. One a properly set up terminal, this would have no other effect, as the background color of the terminal would be set correctly anyway.

This is a true fix for https://github.com/odedlaz/tmux-onedark-theme/issues/5.

As examples: the window background color is not set in the following two tmux themes, both of which have good out-of-the-box transparent terminal support:

https://github.com/shaneog/tmux-colors-gotham https://github.com/sei40kr/tmux-airline-dracula

I can change this to be toggled with an option, if you'd prefer that.

odedlaz commented 5 years ago

Thanks :)