.tmux: Easy change color themes

Created on 25 Sep 2018  路  8Comments  路  Source: gpakosz/.tmux

Is there a way to select between different color themes instead of
handcrafting every single parameter of the configuration file?
I mean, having some presets such as solarized, light and dark themes
such we can alternate easily when the environment has too much light or
is too dark?

enhancement

Most helpful comment

You could put your colors into variables and "handcraft" your config file once.
Here is my example

All 8 comments

You could put your colors into variables and "handcraft" your config file once.
Here is my example

Hello @danielporto 馃憢

There's no theming system. @Artem-Schander's way is interesting though. I'll give it five minutes.
If I update my configuration in this direction, I would go with

tmux_conf_theme_color_1='#ffffff'
tmux_conf_theme_color_2='#ff0000'
...

Because I think I won't survive reading tmux_conf_theme_color_black='#ffffff' 馃槄

Thanks @Artem-Schander for chiming in!

I've many refactorings ongoing so I won't rush this one for the moment

Touching on this issue, I would like to ask if there is any support for loading colors from Xresources. Much of my theming automation workflow is based on utilities exporting themes to Xresources colors which are then parsed in the configuration files of each program I need to theme. I believe it would be a nice feature.

I think this would be a great addition! For example, supporting something like this:

https://github.com/egel/tmux-gruvbox/

You could put your colors into variables and "handcraft" your config file once.
Here is my example

The best solution finded, I've added gruvbox colorscheme in no time, thanks a lot

Hello there 馃憢

There's now a gh-189-244-255 branch up for testing that addresses this need

Hello there 馃憢

There's now a gh-189-224-255 branch up for testing that addresses this need

Thank you! I will give a look at it

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AtomicCoding picture AtomicCoding  路  3Comments

obitech picture obitech  路  4Comments

luisdavim picture luisdavim  路  6Comments

bubble-joe picture bubble-joe  路  4Comments

nick-bull picture nick-bull  路  8Comments