mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2025-01-11 02:08:08 +00:00
packed arrowbar
This commit is contained in:
parent
4f2a74e8e8
commit
d446f26b73
|
@ -183,6 +183,7 @@ memwidget = lain.widgets.mem({
|
||||||
cpuicon = wibox.widget.imagebox(beautiful.widget_cpu)
|
cpuicon = wibox.widget.imagebox(beautiful.widget_cpu)
|
||||||
cpuwidget = wibox.widget.background(lain.widgets.cpu({
|
cpuwidget = wibox.widget.background(lain.widgets.cpu({
|
||||||
settings = function()
|
settings = function()
|
||||||
|
|
||||||
widget:set_text("" .. cpu_now.usage .. "%")
|
widget:set_text("" .. cpu_now.usage .. "%")
|
||||||
end
|
end
|
||||||
}), "#313131")
|
}), "#313131")
|
||||||
|
@ -219,7 +220,7 @@ batwidget = lain.widgets.bat({
|
||||||
else
|
else
|
||||||
baticon:set_image(beautiful.widget_battery)
|
baticon:set_image(beautiful.widget_battery)
|
||||||
end
|
end
|
||||||
widget:set_markup(" " .. bat_now.perc .. "% ")
|
widget:set_markup(bat_now.perc .. "%")
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue