Commit b35fe0334806c4cb20247ad69e930f05d9c33a4d

Authored by Ian Foster
1 parent 7d8558c903
Exists in master

added awesome screenshot

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

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