i3 / i3status

Generates status bar to use with i3bar, dzen2 or xmobar
BSD 3-Clause "New" or "Revised" License
602 stars 254 forks source link

add an option to colour battery indicator when full #510

Open ohnekopf opened 1 year ago

ohnekopf commented 1 year ago

hi. I guess color_good should be used when the battery is full, as that is somehow an "optimal" condition. my pr adds that functionality, by providing a full_good boolean switch that defaults to false (just to be cautious). I haven't studied the code very deeply, but at least it worked when i tried it. hope this isn't buggy. cheers.