Skip to content

i3xrocks icon colors #1016

Answered by kgilmer
ToS0 asked this question in Q&A
Discussion options

You must be logged in to vote

Colors for X11 (i3blocks) are configured via Xresources

$ cat lascaille/i3xrocks | grep color
i3xrocks.label.color:       color_base0
i3xrocks.value.color:       color_base00
i3xrocks.critical.color:    color_red
i3xrocks.error.color:       color_orange
i3xrocks.warning:           color_yellow
i3xrocks.nominal:           color_base0
$ pwd
/usr/share/regolith-look

So the color values are defined by the Look you have set. If you want to change the color of a specific block, you'll need to edit the block file. For example /usr/share/i3xrocks/scripts/time has lines like the following:

LABEL_COLOR=${label_color:-$(xrescat i3xrocks.label.color "#7B8394")}
VALUE_COLOR=${color:-$(xrescat i3xrock…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ToS0
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants