1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-12-23 03:32:30 +00:00

Merge pull request #32 from blueluke/pull

Copland: Fixing battery widget color change
This commit is contained in:
Luke Bonham 2014-02-01 03:13:32 -08:00
commit f3f3eb5db9

View file

@ -190,6 +190,7 @@ batupd = lain.widgets.bat({
batbar:set_color(beautiful.fg_normal)
baticon:set_image(beautiful.bat)
elseif bat_perc > 15 then
batbar:set_color(beautiful.fg_normal)
baticon:set_image(beautiful.bat_low)
else
batbar:set_color("#EB8F8F")