Guest User

Untitled

a guest
Sep 22nd, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. <!--
  2. Take a screenshot of the current window with scrot when Alt+Print are pressed
  3. -->
  4. <keybind key="Print">
  5. <action name="Execute">
  6. <command>lxsession-default screenshot</command>
  7. </action>
  8. </keybind>
  9. <keybind key="A-Print">
  10. <action name="Execute">
  11. <command>lxsession-default screenshot window</command>
  12. </action>
  13. </keybind>
  14.  
  15. <keybind key="Print"> # Immediate scrot of active window
  16. <action name="Execute"><command>sh -c 'scrot -u /home/VistaRefugee/Pictures/"$(date +%Y%m%d%H%M%S)".png'</command></action>
  17. </keybind>
  18. <keybind key="W-Print"> # Delayed scrot of full screen
  19. <action name="Execute"><command>sh -c 'scrot -d10 /home/VistaRefugee/Pictures/"$(date +%Y%m%d%H%M%S)".png'</command></action>
  20. </keybind>
  21. <keybind key="S-Print"> # Interactive scrot
  22. <action name="Execute"><command>sh -c 'scrot -s /home/VistaRefugee/Pictures/"$(date +%Y%m%d%H%M%S)".png'</command></action>
  23. </keybind>
Add Comment
Please, Sign In to add comment