mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-23 03:32:30 +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({
|
||||
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
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue