Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Document how to change the background colour with X resource #353

Closed
anko opened this issue Mar 24, 2019 · 4 comments
Closed

Document how to change the background colour with X resource #353

anko opened this issue Mar 24, 2019 · 4 comments

Comments

@anko
Copy link
Contributor

anko commented Mar 24, 2019

v25 (January 26, 2019)
[ ... ]

  • Use background/foreground colors from X resource database

Does this mean e.g. ~/.Xresources? What should I write in it? I can't find an answer in the man-page—it doesn't contain the word "background".

I tried *.background: #000000 to no effect.

@simplefied
Copy link

I use:

*foreground: rgb:e5/e5/e5
*background: rgb:00/00/00

Sxiv.foreground: #bbbbbb
Sxiv.background: #222222

@anko
Copy link
Contributor Author

anko commented Mar 26, 2019

Oh, turns out you have to xrdb -load .Xresources after changing the file. Works for me if I do that. Could this be documented? I've used X11 without a DE for 6 years and I've never had to touch .Xresources before now.

@xyb3rt
Copy link
Owner

xyb3rt commented Apr 19, 2019

I've mentioned the resources and xrdb in the man page. I'd rather not give exact details on how to change them.

@xyb3rt xyb3rt closed this as completed Apr 19, 2019
@anko
Copy link
Contributor Author

anko commented Apr 22, 2019

Thanks! 👍

For anyone else following along, the commits for the changes are here. The currently latest release (v25) does not contain them yet.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants