diff options
author | Adam <adam.moloney.stuck@gmail.com> | 2022-05-30 19:34:54 +0200 |
---|---|---|
committer | adamstuck <adam.moloney.stuck@gmail.com> | 2022-05-30 22:30:39 +0200 |
commit | 18ad47f8319671a2686b68c4eb00a5cdab5279b7 (patch) | |
tree | e39dcc5352bcb4ebfaffeffd6da6f449421cb90a | |
parent | 439133f3f7e3b8c680c0d9b73f8bc3d6fb335664 (diff) |
cleaner screenshot
-rwxr-xr-x | .local/bin/screenshot | 2 |
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 |