From d6ba8ce28c705e2ac7f92994bf1dfbc291f68b73 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Thu, 10 Mar 2011 13:24:36 +0100 Subject: awesome: support brightness up and down --- .config/awesome/awesome.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to '.config/awesome') diff --git a/.config/awesome/awesome.lua b/.config/awesome/awesome.lua index 35eabaa..4b069c4 100644 --- a/.config/awesome/awesome.lua +++ b/.config/awesome/awesome.lua @@ -225,6 +225,8 @@ globalkeys = awful.util.table.join( awful.key({ modkey, }, "Print", function () awful.util.spawn("scrot -s") end), awful.key({ }, "XF86Suspend", function () awful.util.spawn("sudo pm-suspend") end), + awful.key({ }, "XF86MonBrightnessUp", function () awful.util.spawn("sudo brightness up") end), + awful.key({ }, "XF86MonBrightnessDown", function () awful.util.spawn("sudo brightness down") end), awful.key({}, "XF86TouchpadToggle", function () awful.util.spawn(os.getenv("HOME") .. "/.scripts/toggle_touchpad.sh") end), -- cgit