diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-09-22 08:28:30 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-10-06 09:29:17 +0200 |
commit | 2618755561adae2067bc51c658c62dc730e4ac6e (patch) | |
tree | 8216cb1f9417e232c2d2ff22daed72ab2fe53500 /.config/awesome | |
parent | 0cefe056603a6535fc91bd3ff40c17763f70c94f (diff) | |
download | dotfiles-2618755561adae2067bc51c658c62dc730e4ac6e.tar.gz dotfiles-2618755561adae2067bc51c658c62dc730e4ac6e.tar.bz2 dotfiles-2618755561adae2067bc51c658c62dc730e4ac6e.zip |
awesome: Also suspend on XF86Sleep (fn+f4 on thinkpads)
Diffstat (limited to '.config/awesome')
-rw-r--r-- | .config/awesome/awesome.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/awesome/awesome.lua b/.config/awesome/awesome.lua index d0f4832..994094c 100644 --- a/.config/awesome/awesome.lua +++ b/.config/awesome/awesome.lua @@ -228,6 +228,7 @@ 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({ }, "XF86Sleep", 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), |