From 111ce4db052fd0d7030230e24dc400fd4005d66c Mon Sep 17 00:00:00 2001 From: xarkes Date: Thu, 21 Sep 2017 10:34:51 +0200 Subject: [PATCH] Added default shortcuts for backlight handling --- rc.lua.template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rc.lua.template b/rc.lua.template index 058531d..b5db501 100644 --- a/rc.lua.template +++ b/rc.lua.template @@ -353,6 +353,10 @@ globalkeys = awful.util.table.join( awful.key({ altkey, }, "h", function () if beautiful.fs then beautiful.fs.show(7) end end), awful.key({ altkey, }, "w", function () if beautiful.weather then beautiful.weather.show(7) end end), + -- Brightness + awful.key({ }, "XF86MonBrightnessUp", function () awful.util.spawn("xbacklight -inc 10") end), + awful.key({ }, "XF86MonBrightnessDown", function () awful.util.spawn("xbacklight -dec 10") end), + -- ALSA volume control awful.key({ altkey }, "Up", function ()