The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

Manually set colors for i3status configurations

asked Jan 3 '14

mneywn gravatar image

updated Jan 3 '14

Is it possible to have individual colors for i3status? Like for example, when I am not using ethernet, it shows E:down in red. I don't want to that and I want it to be in white.

I know I can set the color of color_good or color_bad for all configurations, but can I do it individually?

Another use case is that I want to color the tztime local configuration but it is by default white in color and I want to fix that.

1 answer

Sort by » oldest newest most voted
1

answered Jan 3 '14

cdlscpmv gravatar image

updated Jan 3 '14

You can easily set colors per module like this:

ethernet eth0 {
             format_up = "E: %ip (%speed)"
             format_down = "E: down"
             color_bad = "#bbbbbb"
}

But it doesn't seem to work with tztime/time. And it shouldn't. There are no good or bad states for the time.

Comments

thanks, this worked. Though I don't care about good or bad states for time, the reason I wanted to use colors is so that when I look at the statusbar, I can see the time easily :)

mneywn gravatar imagemneywn (Jan 3 '14)edit

Question Tools

Stats

Asked: Jan 3 '14

Seen: 314 times

Last updated: Jan 03 '14