From e29d42bc92e1ab416637ad217a51f94d2743f28b Mon Sep 17 00:00:00 2001 From: Bert Peters Date: Mon, 20 Mar 2017 15:44:00 +0100 Subject: [PATCH] Add print screen options --- awesome/.config/awesome/rc.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua index 4f45732..c63be70 100644 --- a/awesome/.config/awesome/rc.lua +++ b/awesome/.config/awesome/rc.lua @@ -345,7 +345,12 @@ globalkeys = awful.util.table.join( awful.spawn("xbacklight -inc 15") end), -- Lock screen - awful.key({ modkey, "Shift" }, "l", function () awful.spawn("gnome-screensaver-command --lock") end) + awful.key({ modkey, "Shift" }, "l", function () awful.spawn("gnome-screensaver-command --lock") end), + + -- Print screen tools + awful.key({ }, "Print", function () awful.spawn("gnome-screenshot") end), + awful.key({ "Shift" }, "Print", function () awful.spawn("gnome-screenshot -w") end), + awful.key({ "Control" }, "Print", function () awful.spawn("gnome-screenshot -a") end) ) clientkeys = awful.util.table.join(