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

.Xresources colors in config file #304

Closed
drozdowsky opened this issue Nov 17, 2018 · 3 comments
Closed

.Xresources colors in config file #304

drozdowsky opened this issue Nov 17, 2018 · 3 comments

Comments

@drozdowsky
Copy link

Hello!
First of all great job, recently installed i3 and I come upon pywal I think adding support for reading colors from .Xresources is nice to have feature. It will make i3status-rust more fitting with the whole desktop theme, right now I don't see any option to do this without writing custom script (or I am not aware of such things).
I think this can be solved in 3 ways:

  • custom script
  • i3status-rust reads .Xresources values ($ xrdb -query)
  • i3 config can read .Xresources values so from there we can somehow pass values to i3status-rust config

I have no knowledge in rust programming so I can't contribute (if we talk about last two points, I will probably write python script for the first one)

@drozdowsky
Copy link
Author

drozdowsky commented Nov 18, 2018

I make custom script for anyone interested

@atheriel
Copy link
Collaborator

I don't think we intend to support reading colours from xrdb. And it's not clear that the .Xresources names could be transparently mapped to our existing (functional) names, either.

However, it's my hope that colours will one day be specified in a separate file, which could make writing these scripts easier.

I'm going to close this, but thanks for posting the link to your script -- that could indeed be very useful for users of the various wal programs!

@jkorinth
Copy link

I don't think we intend to support reading colours from xrdb. And it's not clear that the .Xresources names could be transparently mapped to our existing (functional) names, either.

I was actually looking for a simple way to reference colors in .Xresources in theme overrides, so I created #2044. Maybe this would help you, too, @drozdowsky?

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

3 participants