nikp123 / xava

X11 Audio Visualizer for ALSA
http://nikp123.github.io/xava
Other
133 stars 15 forks source link

Feature request: Add support for Xresources #8

Closed sabrehagen closed 4 years ago

sabrehagen commented 5 years ago

It would be great if xava could support colours defined in Xresources.

nikp123 commented 5 years ago

Good idea, however I do not have much free time now, so updates will be slow (school, etc.) Also should it read *colorN: #ffffff or XAVA*colorN: #ffffff, so as to match with the terminal color scheme or not?

Also foreground = default behavior is kind of dumb and buggy, so this is the perfect chance to override this.

sabrehagen commented 5 years ago

Also should it read *colorN: #ffffff or XAVA*colorN: #ffffff, so as to match with the terminal color scheme or not?

Exactly, that's the goal :)

nikp123 commented 5 years ago

so *colorN: #ffffff it is

nikp123 commented 5 years ago

for future me that has time, look this up

nikp123 commented 4 years ago

Done.

It reads the terminal color scheme, I won't bother with introducing new variables as that would require other software to support it, and plus you have the config file for custom colors.

When it works:

You must be in X11 and set the color to default or just comment it out.