From 572382a9ce99162bd93d2d6e3fd789f2c99bf420 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Thu, 17 Oct 2024 22:29:52 -0500 Subject: lowbat widget and remove old classiclayoutbox --- awesome/bar.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'awesome/bar.lua') 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, -- cgit v1.2.3