mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-15 19:30:51 +01:00
sxhkd: Add key to screenshot a selection
This commit is contained in:
parent
1a905dd78c
commit
eb2d208aba
4
sxhkd/.config/sxhkd/selection.sh
Executable file
4
sxhkd/.config/sxhkd/selection.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
DATETIME=`date +%F_%H%M%S`
|
||||
shotgun $(hacksaw -f "-i %i -g %g") ~/$DATETIME.png
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user