greshake / i3status-rust

Very resourcefriendly and feature-rich replacement for i3status, written in pure Rust
GNU General Public License v3.0
2.88k stars 475 forks source link

How do I configure colors? #32

Closed NullVoxPopuli closed 7 years ago

NullVoxPopuli commented 7 years ago

In the readme, there are colors for each block. Right now, all I have is monochrome text. 2017-05-28-152541_1056x26_scrot

greshake commented 7 years ago

Colors are set based on theme and block state. Ramp your CPU usage up and you will see color. By default the bar is supposed to get out of your way. Colors only come into play to convey information, e.g. warn you of a critical system resource. Edit your theme to configure colors.

NullVoxPopuli commented 7 years ago

cool. I see: https://github.com/greshake/i3status-rust/blob/master/example_theme.json how do I specify to use a custom theme.json?

greshake commented 7 years ago

Have you tried $ i3status-rust --help?

greshake commented 7 years ago

--theme <file> should work.

NullVoxPopuli commented 7 years ago

it worked. cool. I'm providing an absolute path to the theme json. Nice. And I keep forgetting that i3status-rust is a CLI bin as well.