1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-10-22 20:41:22 +00:00
This commit is contained in:
Luke Bonham 2015-04-10 08:12:04 +02:00
parent ca5e73722f
commit 73c3a02dd4

View file

@ -180,11 +180,11 @@ baticon = wibox.widget.imagebox(beautiful.widget_batt)
batwidget = lain.widgets.bat({
settings = function()
if bat_now.perc == "N/A" then
bat_now.perc = "AC "
perc = "AC "
else
bat_now.perc = bat_now.perc .. "% "
perc = bat_now.perc .. "% "
end
widget:set_text(bat_now.perc)
widget:set_text(perc)
end
})