Change scrot syntax in s.sh and ss.sh
Previous syntax does not work because of selection mode.
This commit is contained in:
parent
af3fd6e713
commit
9a7382f57d
@ -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'
|
||||
|
@ -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/'
|
||||
|
Loading…
Reference in New Issue
Block a user