Selection screenshot now uses slop for area selection.

scrot's selection doesn't work well witha compositor.
This commit is contained in:
sheldonmlee 2021-10-14 23:58:13 +08:00
parent 162eda723c
commit 73043dc97f

View File

@ -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
}