From 47e1f4bf86a09d10510db8a64e1f3e4f3e5e2a57 Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Wed, 22 Mar 2017 14:03:23 +0100 Subject: [PATCH] Having poweroff doesn't mean we shoudn't inscrease our xbacklight... --- awesome/rc.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/awesome/rc.lua b/awesome/rc.lua index 6a62059..87984ae 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -379,6 +379,10 @@ globalkeys = awful.util.table.join( awful.util.spawn("xbacklight -dec 5") end, {description = "decrease brightness", group="custom"}), + awful.key({ }, "XF86MonBrightnessUp", function () + awful.util.spawn("xbacklight -inc 5") + end, {description = "increase brightness", group="custom"}), + awful.key({ }, "XF86PowerOff", function () awful.util.spawn("gksudo shutdown now") end, {description = "Shutdown", group="custom"}),