From 50fbe5701688fe6d94ce16371053099c4c168342 Mon Sep 17 00:00:00 2001 From: Ian Foster Date: Tue, 28 Jan 2014 19:58:11 -0800 Subject: [PATCH] hotkey arandr --- awesome/awesome/rc.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/awesome/awesome/rc.lua b/awesome/awesome/rc.lua index 1476a7c..3dd3a81 100644 --- a/awesome/awesome/rc.lua +++ b/awesome/awesome/rc.lua @@ -49,6 +49,7 @@ file_manager = "thunar" lock_command = "xscreensaver-command -lock" exit_command = "cb-exit" prtsc_command = "xfce4-screenshooter" +xrandr_command = "arandr" -- Default modkey. -- Usually, Mod4 is the key with a logo between Control and Alt. @@ -422,6 +423,7 @@ globalkeys = awful.util.table.join( 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( { } , "XF86Display" , function () awful.util.spawn(xrandr_command) end), --change resolutions/monitors awful.key({ modkey, "Control" }, "r", awesome.restart), awful.key({ modkey, "Shift" }, "q", awesome.quit), -- 1.9.1