From: Don Armstrong Date: Thu, 29 Jul 2010 21:54:06 +0000 (+0000) Subject: * add obvious.battery to rc.lua X-Git-Url: https://git.donarmstrong.com/?p=x_base.git;a=commitdiff_plain;h=6223b00c8a1536d02bfe8327c3de7e46eecb6531 * add obvious.battery to rc.lua --- diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 684ea27..b00a0a9 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -8,6 +8,7 @@ require("beautiful") require("naughty") require("obvious.volume_alsa") +require("obvious.battery") -- Load Debian menu entries require("debian.menu") @@ -79,6 +80,7 @@ mylauncher = awful.widget.launcher({ image = image(beautiful.awesome_icon), mytextclock = awful.widget.textclock({ align = "right" }, " %c ", 1) myvolumealsa = obvious.volume_alsa() +mybattery = obvious.battery() -- Create a systray mysystray = widget({ type = "systray" }) @@ -154,6 +156,7 @@ for s = 1, screen.count() do mylayoutbox[s], mytextclock, myvolumealsa, + mybattery, s == 1 and mysystray or nil, mytasklist[s], layout = awful.widget.layout.horizontal.rightleft