aboutsummaryrefslogtreecommitdiff
path: root/scripts/.scripts/screenshot.sh
diff options
context:
space:
mode:
authoromagdy7 <omar.professional8777@gmail.com>2024-06-08 17:42:11 +0300
committeromagdy7 <omar.professional8777@gmail.com>2024-06-08 17:42:11 +0300
commit3e2b2c1beb85dce314d5dc67294aa55643f2aa6d (patch)
treebf833d09d1f305605e57fa1c6fd0953feec2f3ad /scripts/.scripts/screenshot.sh
parent4db4fabf25efe99f6c92596720e8d68e79775b53 (diff)
downloaddotfiles-3e2b2c1beb85dce314d5dc67294aa55643f2aa6d.tar.xz
dotfiles-3e2b2c1beb85dce314d5dc67294aa55643f2aa6d.zip
Changed screenshot script to use flameshot instead and also fixed delay when yanking in neovim
Diffstat (limited to 'scripts/.scripts/screenshot.sh')
-rwxr-xr-xscripts/.scripts/screenshot.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/scripts/.scripts/screenshot.sh b/scripts/.scripts/screenshot.sh
index f56a771..374dfe9 100755
--- a/scripts/.scripts/screenshot.sh
+++ b/scripts/.scripts/screenshot.sh
@@ -1,6 +1,8 @@
#!/bin/sh -e
-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
+# 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
+
+flameshot gui --clipboard