LinuxCommandLibrary

slurp

Select a region in a Wayland compositor.

TLDR

Select a region and print it to stdout

$ slurp
copy


Select a region and print it to stdout, while displaying the dimensions of the selection
$ slurp -d
copy


Select a single point instead of a region
$ slurp -p
copy


Select an output and print its name
$ slurp -o -f '%o'
copy


Select a specific region and take a borderless screenshot of it, using grim
$ grim -g "$(slurp -w 0)"
copy


Select a specific region and take a borderless video of it, using wf-recorder
$ wf-recorder --geometry "$(slurp -w 0)"
copy

Copied to clipboard