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

Easy change color themes #189

Closed
danielporto opened this issue Sep 25, 2018 · 8 comments
Closed

Easy change color themes #189

danielporto opened this issue Sep 25, 2018 · 8 comments

Comments

@danielporto
Copy link

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?

@Artem-Schander
Copy link

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

@gpakosz
Copy link
Owner

gpakosz commented Sep 25, 2018

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!

@gpakosz
Copy link
Owner

gpakosz commented Sep 25, 2018

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

@naliferopoulos
Copy link

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.

@diego898
Copy link

diego898 commented Feb 25, 2019

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

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

@Pasqat
Copy link

Pasqat commented Jul 21, 2020

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

@gpakosz
Copy link
Owner

gpakosz commented Oct 4, 2020

Hello there 👋

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

@Pasqat
Copy link

Pasqat commented Oct 4, 2020

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

madhukar93 pushed a commit to madhukar93/.tmux that referenced this issue Apr 25, 2021
yerstd pushed a commit to cgxxv/tmuxc that referenced this issue Nov 18, 2021
yerstd pushed a commit to cgxxv/tmuxc that referenced this issue Dec 9, 2021
farhadkarimi pushed a commit to farhadkarimi/.tmux that referenced this issue Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants