From cd2244e3eefa8da1e683b68357dcf19a9b41c095 Mon Sep 17 00:00:00 2001 From: xero Date: Sun, 9 Mar 2014 16:47:51 -0400 Subject: add battery widget config variable --- .config/awesome/rc.lua | 1 + 1 file changed, 1 insertion(+) (limited to '.config/awesome/rc.lua') diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 195c90d..cd48b35 100755 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -338,6 +338,7 @@ fswidgetbg = fswidget -- █▓▒░ battery baticon = wibox.widget.imagebox(beautiful.widget_battery) batwidget = lain.widgets.bat({ + battery = battery_id, settings = function() if bat_now.perc == "N/A" then widget:set_markup(" AC ") -- cgit v1.2.1