sxhkd: Add key to screenshot a selection

This commit is contained in:
Donovan Glover 2022-01-01 20:28:51 -05:00
parent 1a905dd78c
commit eb2d208aba
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,4 @@
#!/bin/sh -e
DATETIME=`date +%F_%H%M%S`
shotgun $(hacksaw -f "-i %i -g %g") ~/$DATETIME.png

View File

@ -9,6 +9,10 @@ super + {_, alt} + Escape
super + p
~/.config/sxhkd/screenshot.sh
# Screenshot a selection
Print
~/.config/sxhkd/selection.sh
# Open a new terminal window
super + {_,shift} + Return
kitty {_,--name floating}