From a18badc752e246cb95ded09017ac8cc6bde4acc3 Mon Sep 17 00:00:00 2001 From: omagdy7 Date: Wed, 1 May 2024 02:38:26 +0300 Subject: Now Saves all screenshots to /tmp in addition to copying the image to the clipboard --- scripts/.scripts/screenshot.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts') diff --git a/scripts/.scripts/screenshot.sh b/scripts/.scripts/screenshot.sh index 336816f..f56a771 100755 --- a/scripts/.scripts/screenshot.sh +++ b/scripts/.scripts/screenshot.sh @@ -2,3 +2,5 @@ selection=$(hacksaw -f "-i %i -g %g") shotgun $selection - | xclip -t 'image/png' -selection clipboard +random_word=$(cat /usr/share/dict/cracklib-small | shuf -n 1) +shotgun $selection - >/tmp/$random_word.png -- cgit v1.2.3