From 18ad47f8319671a2686b68c4eb00a5cdab5279b7 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 30 May 2022 19:34:54 +0200 Subject: cleaner screenshot --- .local/bin/screenshot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.local/bin') 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 -- cgit v1.2.3-70-g09d2