screenshot: wait 1/60th second before taking the screenshot

This helps to avoid to capture the selection rectangle.
This commit is contained in:
Vincent Bernat 2022-04-08 19:23:53 +02:00
parent 6b99daccaa
commit 0dd6a2847d

View file

@ -10,7 +10,7 @@ case $1 in
echo -n $target | xclip -selection clipboard
;;
window)
maim -u -s -b 5 -l -c 0.3,0.4,0.6,0.4 \
maim -u -s -b 5 -l -c 0.3,0.4,0.6,0.4 -d 0.02 \
| xclip -selection clipboard -t image/png
notify-send -i camera-photo "Screenshot" "Saved to clipboard"
;;