aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoromagdy7 <omar.professional8777@gmail.com>2024-05-01 02:38:26 +0300
committeromagdy7 <omar.professional8777@gmail.com>2024-05-01 02:38:26 +0300
commita18badc752e246cb95ded09017ac8cc6bde4acc3 (patch)
treec55ed8ae02f95dac7e7e15b1abd03e5b7181e2f8
parentfa049ca745ae91e4e3c1835f40535efac4e6cc23 (diff)
downloaddotfiles-a18badc752e246cb95ded09017ac8cc6bde4acc3.tar.xz
dotfiles-a18badc752e246cb95ded09017ac8cc6bde4acc3.zip
Now Saves all screenshots to /tmp in addition to copying the image to the clipboard
-rwxr-xr-xscripts/.scripts/screenshot.sh2
1 files changed, 2 insertions, 0 deletions
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