mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-22 19:22:32 +00:00
lain: fix attempt for #29
This commit is contained in:
parent
49263afbbd
commit
0939b743c9
2
lain
2
lain
|
@ -1 +1 @@
|
|||
Subproject commit f87b80a92ce3a34c3f5843647be9c2189da53d99
|
||||
Subproject commit 3fc0ed44dc2169d10a42f1c6f6ea39be7dc310dd
|
|
@ -200,8 +200,9 @@ baticon = wibox.widget.imagebox(beautiful.widget_battery)
|
|||
batwidget = lain.widgets.bat({
|
||||
settings = function()
|
||||
if bat_now.perc == "N/A" then
|
||||
bat_now.perc = "AC"
|
||||
widget:set_markup(" AC ")
|
||||
baticon:set_image(beautiful.widget_ac)
|
||||
return
|
||||
elseif tonumber(bat_now.perc) <= 5 then
|
||||
baticon:set_image(beautiful.widget_battery_empty)
|
||||
elseif tonumber(bat_now.perc) <= 15 then
|
||||
|
|
Loading…
Reference in a new issue