summaryrefslogtreecommitdiff
path: root/.local/bin
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2022-05-30 19:34:54 +0200
committerAdam <56338480+adastx@users.noreply.github.com>2022-05-30 19:34:54 +0200
commit4ceaf9daed68345cdae0a74d4dfa982ca590aaa7 (patch)
treebe3bbf07b8cc8c859031ed5edb16d457a9bf396b /.local/bin
parentd3c1f1e3155697bf100b7cbb48d6d710bbd346c2 (diff)
cleaner screenshot
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/screenshot2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/screenshot b/.local/bin/screenshot
index 502888f..6d65898 100755
--- a/.local/bin/screenshot
+++ b/.local/bin/screenshot
@@ -8,7 +8,7 @@ while [ -n "$1" ]; do # while loop starts
case "$1" in
-s)
sleep 0.2
- scrot --line mode=edge -i -s -e 'xclip -selection c -t image/png < $f; mv $f ~/Pictures/screenshots/'
+ scrot -l mode=edge -i -s -e 'xclip -sel clip -t image/png $f; mv $f ~/Pictures/screenshots/'
;;
*) echo "Option $1 not recognized" ;;
esac