cast screenshot with shotgun and hacksaw (fixed picom conf)
This commit is contained in:
parent
1d5c7f05d3
commit
b2fce36b80
|
@ -1,3 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
scrot -s -e 'xclip -selection clipboard -t "image/png" < $f && mv $f ~/Pictures/screenshots'
|
filename="/home/qv/Pictures/screenshots/$(date -u +"%Y-%m-%d%H%M%S")-screenshot.png"
|
||||||
|
selection=$(hacksaw -f "-i %i -g %g")
|
||||||
|
shotgun $selection $filename
|
||||||
|
xclip -t 'image/png' -selection clipboard < $filename
|
||||||
|
|
Loading…
Reference in New Issue