Selection screenshot now uses slop for area selection.
scrot's selection doesn't work well witha compositor.
This commit is contained in:
parent
162eda723c
commit
73043dc97f
@ -68,7 +68,7 @@ prompt_gif() {
|
|||||||
s_scrot() {
|
s_scrot() {
|
||||||
name=$(date +${date_format}_sel.png)
|
name=$(date +${date_format}_sel.png)
|
||||||
path="${scrot_dir}/${name}"
|
path="${scrot_dir}/${name}"
|
||||||
scrot -s $path &&
|
scrot -a $(slop -f "%x,%y,%w,%h") $path &&
|
||||||
xclip -sel clip $path -t image/png
|
xclip -sel clip $path -t image/png
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user