diff options
author | xero <x@xero.nu> | 2014-03-09 16:47:51 -0400 |
---|---|---|
committer | xero <x@xero.nu> | 2014-03-09 16:47:51 -0400 |
commit | cd2244e3eefa8da1e683b68357dcf19a9b41c095 (patch) | |
tree | 7373b8e93bc843f96eb5b0e90e8343ebb27a8014 /.config/awesome | |
parent | 0fb570e2e2b70ff4dae1273a2a78a3b5f3e8fe76 (diff) | |
download | dotfiles_ascii-cd2244e3eefa8da1e683b68357dcf19a9b41c095.tar.xz dotfiles_ascii-cd2244e3eefa8da1e683b68357dcf19a9b41c095.zip |
add battery widget config variable
Diffstat (limited to '.config/awesome')
-rw-r--r-- | .config/awesome/config.lua | 1 | ||||
-rwxr-xr-x | .config/awesome/rc.lua | 1 |
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 ") |