diff options
Diffstat (limited to 'i3')
-rw-r--r-- | i3/config | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -91,6 +91,12 @@ mode "resize" { bindsym Escape mode "default" } +# PrintScreen takes a screenshot of the whole display +bindsym Print exec sh -c 'mkdir -p "$HOME"/Screenshots && import "$HOME"/Screenshots/shot-"$(date +%Y%m%d%H%M%S)".png' + +# Shift-PrintScren selects and takes a screenshot of a section of the screen +bindsym --release Shift+Print exec sh -c 'mkdir -p "$HOME"/Screenshots && import "$HOME"/Screenshots/snap-"$(date +%Y%m%d%H%M%S)".png' + # i3bar at bottom of screen bar { font pango:Verdana 7 |