You are not logged in.
Pages: 1
I am trying to change some configuration settings for sxiv via xresources.
From the sxiv man page:
The following X resources are supported:
background Color of the window background and bar foreground
foreground Color of the window foreground and bar background
font Name of Xft bar font
After reading https://wiki.archlinux.org/index.php/X_ … ces_syntax
I can see this is the syntax I need in ~/.Xresources is:
name.Class.resource: value
I have successfully made changes to xterm via Xresources using wildcards. For
example:
xterm*foreground: Grey
xterm*background: rgb:00/00/00
When I try
sxiv*background: Green
it doesn't change anything. I use xrdb ~/.Xresources after making the change,
but still nothing.
I would like to use the Class instead of the wildcard, but I don't know what
Classes are available.
Any help as to how I can change the back/foreground and font in sxiv would be
appreciated.
Last edited by eggrole (2021-04-29 02:30:20)
Offline
The class is Sxiv, so the following works:
Sxiv.background: greenYou can always check the resource class and name of any program with xprop.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Worked like a charm. I feel like such an idiot for not trying to capitalize the sxiv! Thank you.
Offline
Pages: 1