From 73043dc97fb0f1e0c33ac962ed90d184d03fa864 Mon Sep 17 00:00:00 2001 From: sheldonmlee Date: Thu, 14 Oct 2021 23:58:13 +0800 Subject: [PATCH] Selection screenshot now uses slop for area selection. scrot's selection doesn't work well witha compositor. --- .config/wm_scripts/screenshot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/wm_scripts/screenshot.sh b/.config/wm_scripts/screenshot.sh index 9b94c91..c3930d6 100755 --- a/.config/wm_scripts/screenshot.sh +++ b/.config/wm_scripts/screenshot.sh @@ -68,7 +68,7 @@ prompt_gif() { s_scrot() { name=$(date +${date_format}_sel.png) path="${scrot_dir}/${name}" - scrot -s $path && + scrot -a $(slop -f "%x,%y,%w,%h") $path && xclip -sel clip $path -t image/png }