slurp icon indicating copy to clipboard operation
slurp copied to clipboard

screenshots the slurp selector edges

Open Idiot64 opened this issue 3 years ago • 10 comments

looks weird, you see black edges on the screenshot, most likely becuase it also screenshots slurp

Idiot64 avatar May 01 '21 17:05 Idiot64

grim -g "$(slurp)" -| wl-copy and you can see black edges

Idiot64 avatar May 01 '21 17:05 Idiot64

I can't reproduce.

emersion avatar May 01 '21 17:05 emersion

hm, i can send you one image

also, this issue might be becuase i use wayfire, but I'm not sure

Idiot64 avatar May 01 '21 17:05 Idiot64

might be because i use wayfire

Do you have some animation that fades windows out when they close instead of them instantly disappearing? Does this happen to slurp's border?

char avatar Jun 20 '21 05:06 char

ye, it does that, but couldn't it just ignore the box?

CrezyDud avatar Sep 24 '21 13:09 CrezyDud

No, slurp nor grim can't do anything about Wayfire's animations.

emersion avatar Sep 24 '21 13:09 emersion

perhaps wait a small amount of time between getting the coordinates with grim. Something like:

grim -g "$(slurp; sleep .5)" -| wl-copy

tmccombs avatar Sep 24 '21 15:09 tmccombs

No, slurp nor grim can't do anything about Wayfire's animations.

slurp can do one thing: set an app_id so that it can be matched and have animation disabled. Currently I find no way to identify slurp so I have to disable all animation for the "overlay" type.

lilydjwg avatar Nov 10 '21 11:11 lilydjwg

slurp sets the layer-shell namespace. layer-shell has no app-id.

emersion avatar Nov 10 '21 11:11 emersion

Oops, that explains. Thanks.

lilydjwg avatar Nov 10 '21 12:11 lilydjwg