Xresources or Arch system color variables
Currently I am setting up my arch install and the time has come to make some last tweaks and so on. My question is: Is it possible to use the colors defined in the .Xresources file and use them to colorize my conky status bar? I want to be able to only change the colors in my .Xresources, and the colors in the bar to change with that too. Are there global color variables that are affected by this? For instance vim does change colors with my .Xresources file. Urxvt is also affected by this as you may know.
About this post
- Posted
- Archived
- Score
- 2 · 100% up
- Kind
- Text
- ID
- 36976n
10 comments
I have yet to see a script applying colors globally for all applications and window managers. Btw, how do you make vim use the colors from Xresources? I've been trying for days.
I believe vim is using the colors from the terminal it's run in.
How would that work? Vim is an independent application. I don't believe this functionality exists by design
Check base16-shell and base16-xresources to see how they're structured (also, they're great color schemes!), I haven't tested vim with only those, because I also have the base16 vim plugin but I guess it should work.
For me it just takes the colors from the .Xresources. I have the colors specified as *color0 - *color7 for the lighter colors and *color8 - *color15 for the darker versions. So for example the dark red is: *color1: #cc241d