X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/fb979e3bd94acecee103c9a6ff759bbee635691c..ea12a46a4ecb2168327dda544b2f212abdb5147e:/awesome/topbar.lua diff --git a/awesome/topbar.lua b/awesome/topbar.lua index 58c0195..c18303b 100644 --- a/awesome/topbar.lua +++ b/awesome/topbar.lua @@ -3,6 +3,7 @@ local wibox = require("wibox") -- my widgets local volume_widget = require("widgets/volume_widget") +local battery_widget = require("widgets/battery_widget") -- Create a textclock widget mytextclock = awful.widget.textclock() @@ -87,6 +88,7 @@ for s = 1, screen.count() do local right_layout = wibox.layout.fixed.horizontal() if s == 1 then right_layout:add(wibox.widget.systray()) end right_layout:add(volume_widget) + right_layout:add(battery_widget) right_layout:add(mytextclock) right_layout:add(mylayoutbox[s])