1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2026-03-23 22:15:11 +00:00
This commit is contained in:
sandnon 2013-10-07 04:58:53 -07:00
commit 4d7e3d4b9f
2 changed files with 2 additions and 3 deletions

2
lain

@ -1 +1 @@
Subproject commit 88b5c74a5936dce171a0a2723d45adfcd2f4368d
Subproject commit 9fb47c32cbf5f5019fc1d623785b23b6ea1d1f84

View file

@ -200,8 +200,7 @@ fswidgetbg = wibox.widget.background(fswidget, "#313131")
baticon = wibox.widget.imagebox(beautiful.widget_battery)
batwidget = lain.widgets.bat({
settings = function()
if bat_now.perc == "N/A" then
bat_now.perc = "AC"
if bat_now.ac == "online" then
baticon:set_image(beautiful.widget_ac)
elseif tonumber(bat_now.perc) <= 5 then
baticon:set_image(beautiful.widget_battery_empty)