Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to customize colours. #39

Open
bushblade opened this issue Apr 30, 2020 · 1 comment
Open

How to customize colours. #39

bushblade opened this issue Apr 30, 2020 · 1 comment

Comments

@bushblade
Copy link

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
Copy link
Owner

jimeh commented Jun 3, 2020

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants