diff options
author | Tim Keller <tjk@tjkeller.xyz> | 2024-10-17 22:29:52 -0500 |
---|---|---|
committer | Tim Keller <tjk@tjkeller.xyz> | 2024-10-17 22:29:52 -0500 |
commit | 572382a9ce99162bd93d2d6e3fd789f2c99bf420 (patch) | |
tree | 676e1beca156d8a145f05462573ca101986783fa /awesome/bar.lua | |
parent | e74ea1ed238500d48d3df0c8a5e15e4fd0bd0fcf (diff) | |
download | dotconfig-572382a9ce99162bd93d2d6e3fd789f2c99bf420.tar.xz dotconfig-572382a9ce99162bd93d2d6e3fd789f2c99bf420.zip |
lowbat widget and remove old classiclayoutbox
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, |