1
0
Fork 0
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:
kelpine 2014-05-08 13:42:46 -05:00
parent 4f2a74e8e8
commit d446f26b73

View file

@ -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
}) })