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

Copland: Fixing bad widget color

This commit is contained in:
Lukas Geis 2014-01-31 17:47:25 +01:00
parent 7c93f7e61f
commit 261da81722

View file

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