parent
2d533e7845
commit
65b1867b42
@ -0,0 +1,13 @@ |
|||||||
|
#!/bin/sh |
||||||
|
|
||||||
|
slop=$(slop -f "%g") || exit 1 |
||||||
|
file="$HOME"/Pictures/screen-"$(date '+%d-%m-%y_%H:%M:%S')".png |
||||||
|
|
||||||
|
case $1 in |
||||||
|
"sel") |
||||||
|
exec import -window root -silent -crop "$slop" "$file" |
||||||
|
;; |
||||||
|
*) |
||||||
|
exec import -window root -silent "$file" |
||||||
|
;; |
||||||
|
esac |
Loading…
Reference in new issue