From b35fe0334806c4cb20247ad69e930f05d9c33a4d Mon Sep 17 00:00:00 2001 From: Ian Foster Date: Wed, 15 Jan 2014 21:02:46 -0800 Subject: [PATCH] added awesome screenshot --- awesome/awesome/rc.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/awesome/awesome/rc.lua b/awesome/awesome/rc.lua index 23bf8cf..64f9961 100644 --- a/awesome/awesome/rc.lua +++ b/awesome/awesome/rc.lua @@ -48,6 +48,7 @@ web_browser = "google-chrome" file_manager = "thunar" lock_command = "xscreensaver-command -lock" exit_command = "cb-exit" +prtsc_command = "xfce4-screenshooter" -- Default modkey. -- Usually, Mod4 is the key with a logo between Control and Alt. @@ -420,6 +421,7 @@ globalkeys = awful.util.table.join( awful.key({ modkey, }, "w", function () awful.util.spawn(web_browser) end), --hotkey to start web-browser awful.key({ modkey, }, "f", function () awful.util.spawn(file_manager) end), --hotkey to start my file manager awful.key({ modkey, "Control" }, "l", function () awful.util.spawn(lock_command) end), --lock screen + awful.key( { } , "Print" , function () awful.util.spawn(prtsc_command) end), --screenshot awful.key({ modkey, "Control" }, "r", awesome.restart), awful.key({ modkey, "Shift" }, "q", awesome.quit), -- 1.9.1