greshake / i3status-rust

Very resourcefriendly and feature-rich replacement for i3status, written in pure Rust
GNU General Public License v3.0
2.88k stars 475 forks source link

.Xresources colors in config file #304

Closed drozdowsky closed 5 years ago

drozdowsky commented 6 years ago

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:

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 commented 5 years ago

I make custom script for anyone interested

atheriel commented 5 years ago

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 commented 7 months ago

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?