From 9a7382f57d169fe42cf665a4846a3febc067320e Mon Sep 17 00:00:00 2001 From: DogeyStamp Date: Wed, 29 Dec 2021 11:38:37 -0500 Subject: [PATCH] Change scrot syntax in s.sh and ss.sh Previous syntax does not work because of selection mode. --- src/.local/bin/s.sh | 2 +- src/.local/bin/ss.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/.local/bin/s.sh b/src/.local/bin/s.sh index f7b24dc..aaf6cab 100755 --- a/src/.local/bin/s.sh +++ b/src/.local/bin/s.sh @@ -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' diff --git a/src/.local/bin/ss.sh b/src/.local/bin/ss.sh index d5c9b8c..ee50f1c 100755 --- a/src/.local/bin/ss.sh +++ b/src/.local/bin/ss.sh @@ -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/'