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:
commit
f3f3eb5db9
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue