aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/awesome/config.lua1
-rwxr-xr-x.config/awesome/rc.lua1
2 files changed, 2 insertions, 0 deletions
diff --git a/.config/awesome/config.lua b/.config/awesome/config.lua
index 2ed3392..94d5984 100644
--- a/.config/awesome/config.lua
+++ b/.config/awesome/config.lua
@@ -17,6 +17,7 @@ tag_count = 4
tag_icon = "◊"
tag_icon_active = "◆"
clock_format = " %a %m/%d %H:%M " -- http://linux.die.net/man/3/strftime
+battery_id = "BAT1"
-- █▓▒░ preffered apps
terminal = "urxvtc"
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 ")