Sxiv: Document how to change the background colour with X resource

Created on 24 Mar 2019  路  4Comments  路  Source: muennich/sxiv

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鈥攊t doesn't contain the word "background".

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

Most helpful comment

I use:

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

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

All 4 comments

I use:

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

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

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.

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

Thanks! :+1:

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

causes- picture causes-  路  3Comments

SammysHP picture SammysHP  路  3Comments

crocket picture crocket  路  6Comments

se7en-x230 picture se7en-x230  路  5Comments

MimaHakurei picture MimaHakurei  路  3Comments