diff options
| author | omagdy7 <omar.professional8777@gmail.com> | 2024-05-01 02:38:26 +0300 |
|---|---|---|
| committer | omagdy7 <omar.professional8777@gmail.com> | 2024-05-01 02:38:26 +0300 |
| commit | a18badc752e246cb95ded09017ac8cc6bde4acc3 (patch) | |
| tree | c55ed8ae02f95dac7e7e15b1abd03e5b7181e2f8 /scripts/.scripts/screenshot.sh | |
| parent | fa049ca745ae91e4e3c1835f40535efac4e6cc23 (diff) | |
| download | dotfiles-a18badc752e246cb95ded09017ac8cc6bde4acc3.tar.xz dotfiles-a18badc752e246cb95ded09017ac8cc6bde4acc3.zip | |
Now Saves all screenshots to /tmp in addition to copying the image to the clipboard
Diffstat (limited to 'scripts/.scripts/screenshot.sh')
| -rwxr-xr-x | scripts/.scripts/screenshot.sh | 2 |
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 |
