Change scrot syntax in s.sh and ss.sh

Previous syntax does not work because of selection mode.
This commit is contained in:
dogeystamp 2021-12-29 11:38:37 -05:00
parent af3fd6e713
commit 9a7382f57d
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
2 changed files with 2 additions and 2 deletions

View File

@ -2,4 +2,4 @@
# Screenshot to clipboard, and leave a copy at ~/med/screen/latest.png
sleep 0.1 && scrot -sf '/tmp/%F_%T_$wx$h.png' -e 'cp $f ~/med/screen/latest.png && xclip -selection clipboard -target image/png -i $f'
sleep 0.1 && scrot -fs '/tmp/%F_%T_$wx$h.png' -e 'cp $f ~/med/screen/latest.png && xclip -selection clipboard -target image/png -i $f'

View File

@ -2,4 +2,4 @@
# Screenshot and save to disk.
sleep 0.1 && scrot -sf '/tmp/%F_%T_$wx$h.png' -e 'cp $f ~/med/screen/latest.png && mv $f ~/med/screen/'
sleep 0.1 && scrot -fs '/tmp/%F_%T_$wx$h.png' -e 'cp $f ~/med/screen/latest.png && mv $f ~/med/screen/'