Commit 50fbe5701688fe6d94ce16371053099c4c168342

Authored by Ian Foster
1 parent d9a3c0e698
Exists in master

hotkey arandr

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

awesome/awesome/rc.lua View file @ 50fbe57
... ... @@ -49,6 +49,7 @@
49 49 lock_command = "xscreensaver-command -lock"
50 50 exit_command = "cb-exit"
51 51 prtsc_command = "xfce4-screenshooter"
  52 +xrandr_command = "arandr"
52 53  
53 54 -- Default modkey.
54 55 -- Usually, Mod4 is the key with a logo between Control and Alt.
... ... @@ -422,6 +423,7 @@
422 423 awful.key({ modkey, }, "f", function () awful.util.spawn(file_manager) end), --hotkey to start my file manager
423 424 awful.key({ modkey, "Control" }, "l", function () awful.util.spawn(lock_command) end), --lock screen
424 425 awful.key( { } , "Print" , function () awful.util.spawn(prtsc_command) end), --screenshot
  426 + awful.key( { } , "XF86Display" , function () awful.util.spawn(xrandr_command) end), --change resolutions/monitors
425 427 awful.key({ modkey, "Control" }, "r", awesome.restart),
426 428 awful.key({ modkey, "Shift" }, "q", awesome.quit),
427 429