Having poweroff doesn't mean we shoudn't inscrease our xbacklight...

This commit is contained in:
Thomas FORGIONE
2017-03-22 14:03:23 +01:00
parent f960d2269c
commit 47e1f4bf86

View File

@@ -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"}),