From ae1cffbe628511d0b0c66562e71ceb8d58c56197 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 15 May 2014 15:18:19 -0300 Subject: Changing hibernate keystroke --- config.dot/awesome.link/keys.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'config.dot/awesome.link/keys.lua') diff --git a/config.dot/awesome.link/keys.lua b/config.dot/awesome.link/keys.lua index 6e86006..5a6bc52 100644 --- a/config.dot/awesome.link/keys.lua +++ b/config.dot/awesome.link/keys.lua @@ -8,7 +8,6 @@ globalkeys = awful.util.table.join(root.keys(), awful.key({ modkey, }, "a", function () awful.util.spawn("audacious") end), awful.key({ modkey, }, "l", function () awful.util.spawn("xlock") end), awful.key({ modkey, }, "s", function () awful.util.spawn("xsuspend") end), - awful.key({ modkey, }, "h", function () awful.util.spawn("xhibernate") end), awful.key({ modkey, }, "o", function () awful.util.spawn("chromium-browser") end), awful.key({ modkey, }, "n", function () awful.util.spawn("firefox-profile normal") end), awful.key({ modkey, }, "t", function () awful.util.spawn("thunar") end), @@ -23,7 +22,10 @@ globalkeys = awful.util.table.join(root.keys(), -- Volume keys awful.key({ }, "XF86AudioRaiseVolume", function () awful.util.spawn("amixer set Master 9%+", false) end), awful.key({ }, "XF86AudioLowerVolume", function () awful.util.spawn("amixer set Master 9%-", false) end), - awful.key({ }, "XF86AudioMute", function () awful.util.spawn("amixer sset Master toggle", false) end) + awful.key({ }, "XF86AudioMute", function () awful.util.spawn("amixer sset Master toggle", false) end), + + -- Hibernate + awful.key({ }, "XF86Launch1", function () awful.util.spawn("xhibernate") end) ) -- Append keys from music widget -- cgit v1.2.3