diff options
Diffstat (limited to 'awesome/bar.lua')
-rw-r--r-- | awesome/bar.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/awesome/bar.lua b/awesome/bar.lua index 4adddb3..c03466e 100644 --- a/awesome/bar.lua +++ b/awesome/bar.lua @@ -7,6 +7,7 @@ local beautiful = require("beautiful") local widget_cpu_usage = require("widgets.cpu") local widget_ram_usage = require("widgets.ram") local widget_temperature = require("widgets.temperature") +local widget_battery = require("widgets.battery") local classiclayoutbox = require("widgets.classiclayouts") local volume_control = require("widgets.pavolctld") local widget_volume = volume_control.textbox @@ -68,6 +69,12 @@ local widgets = { widget_volume, wibox.widget.textbox "%", }, + bat = { + layout = wibox.layout.fixed.horizontal, + buttons = volume_buttons, + wibox.widget.textbox "BAT: ", + widget_battery, + }, } -- left widget group func @@ -97,6 +104,7 @@ function widgets.right_widgets(s) return wibox.widget { widgets.cpu, widgets.ram, widgets.vol, + widgets.bat, }, { widget = wibox.widget.separator, |