From aabb373454a61bfd82198160e7bf928f741c7a18 Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Fri, 10 Jul 2015 22:55:30 +0200 Subject: [PATCH] removed bat widget and are using cbatticon graphical widget instead --- .config/awesome/rc.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 0b34bd9c..f37578a2 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -15,6 +15,7 @@ vicious = require("vicious") -- Set programs to autostart. They will only runce once even when reloading awesome. local autostart = { + "cbatticon", "nm-applet", "pasystray", "xfsettingsd", @@ -130,8 +131,8 @@ end -- }}} -- Initialize widgets -local batwidget = wibox.widget.textbox() -vicious.register(batwidget, vicious.widgets.bat, " $2%/$3 | ", 20, "BAT0" ) +--local batwidget = wibox.widget.textbox() +--vicious.register(batwidget, vicious.widgets.bat, " $2%/$3 | ", 20, "BAT0" ) local thermalwidget = wibox.widget.textbox() vicious.register(thermalwidget, vicious.widgets.thermal, "$1C ", 20, "thermal_zone0" ) @@ -353,7 +354,7 @@ for s = 1, screen.count() do -- Widgets that are aligned to the right local right_layout = wibox.layout.fixed.horizontal() right_layout:add(cpuwidget) - right_layout:add(batwidget) +-- right_layout:add(batwidget) right_layout:add(thermalwidget) if s == 1 then right_layout:add(wibox.widget.systray()) end right_layout:add(mytextclock)