mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-23 11:32:32 +00:00
patch #82
This commit is contained in:
parent
ca5e73722f
commit
73c3a02dd4
|
@ -180,11 +180,11 @@ baticon = wibox.widget.imagebox(beautiful.widget_batt)
|
||||||
batwidget = lain.widgets.bat({
|
batwidget = lain.widgets.bat({
|
||||||
settings = function()
|
settings = function()
|
||||||
if bat_now.perc == "N/A" then
|
if bat_now.perc == "N/A" then
|
||||||
bat_now.perc = "AC "
|
perc = "AC "
|
||||||
else
|
else
|
||||||
bat_now.perc = bat_now.perc .. "% "
|
perc = bat_now.perc .. "% "
|
||||||
end
|
end
|
||||||
widget:set_text(bat_now.perc)
|
widget:set_text(perc)
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue