greshake / i3status-rust

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

Unable to override the colors for battery block #1897

Closed Hikandy closed 1 year ago

Hikandy commented 1 year ago

This is my current config

[[block]] block = "battery" format = " $icon $percentage $power $time " [block.color_overrides] idle_fg = "#000000" idle_bg = "#abcdef"

OR EVEN IN THIS

[[block]] block = "battery" format = " $icon $percentage $power $time " [[block.color_overrides]] idle_fg = "#000000" idle_bg = "#abcdef"

but when I do this, the block just doesn't work and gives me this screenshot_2023-05-09-210512

Not sure what I'm doing wrong

bim9262 commented 1 year ago

Try [block.theme_overrides] instead of [block.color_overrides].

MaxVerevkin commented 1 year ago

By the way, you can click on the block to see full error message.