summaryrefslogtreecommitdiff
path: root/awesome/rc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'awesome/rc.lua')
-rw-r--r--awesome/rc.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/awesome/rc.lua b/awesome/rc.lua
index 28ed104..66ecb28 100644
--- a/awesome/rc.lua
+++ b/awesome/rc.lua
@@ -288,6 +288,8 @@ awful.screen.connect_for_each_screen(function(s)
batt = crcparse("batt")
+ light = crcparse("bl")
+
if batt == "y" then
battery = battery_widget {
font = font,
@@ -349,7 +351,7 @@ awful.screen.connect_for_each_screen(function(s)
}),
brightness_widget {
type = "arc",
- program = "light",
+ program = light,
step = 5,
base = 20,
path_to_icon = "/usr/share/icons/Paper/scalable/status/display-brightness-symbolic.svg",