jimeh / tmux-themepack

A pack of various Tmux themes.
1.67k stars 203 forks source link

How to customize colours. #39

Open bushblade opened 4 years ago

bushblade commented 4 years ago

Hi, really loving this but how do you provide custom colours? I know in the readme it says..

To customize a theme, simply look at the source to see the list of Tmux options with names beginning with a @, and simply set the desired option in your tmux.conf before the theme is loaded.

But what does that look like? How do you set the desired option in tmux.conf? For example I see in the themes there is..

set -goq @powerline-color-main-1 colour39

So how do I set a colour for that in tmux.conf? Thanks in advance

jimeh commented 4 years ago

You should be able to set that to whatever color you want just by placing this in your tmux.conf, before loading the theme:

set -g @powerline-color-main-1 colour39

And change colour39 to any color value that Tmux supports, more details about styling/colors can be found in the STYLES section of Tmux's manpage :)