slurp icon indicating copy to clipboard operation
slurp copied to clipboard

Print output local coordinates

Open columbarius opened this issue 3 years ago • 3 comments

With the '-x' flag slurp will calculate the x and y coordinates relative to the position of the output the selection starts on (upper left corner). If the selection spans over multiple outputs it will be cropped to the intersection with the output.

columbarius avatar Aug 14 '22 13:08 columbarius

I'd rather not add a global flag if we are to add such a feature. I'd prefer new % sequences.

emersion avatar Aug 15 '22 07:08 emersion

Are %X, %Y fine? Should %w,%%h get their equivalent, which get cropped to the output containing the top left corner?

columbarius avatar Aug 15 '22 08:08 columbarius

gentle ping

columbarius avatar Aug 22 '22 18:08 columbarius

Can we have a new release with this change?

WhyNotHugo avatar Oct 07 '22 19:10 WhyNotHugo