2025-03-14 21:59:59 -06:00
|
|
|
# slurp
|
|
|
|
|
|
|
|
|
|
> Select a region in a Wayland compositor.
|
2025-12-16 10:20:31 -07:00
|
|
|
> More information: <https://github.com/emersion/slurp/blob/master/slurp.1.scd>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Select a region and print it to `stdout`:
|
|
|
|
|
|
|
|
|
|
`slurp`
|
|
|
|
|
|
|
|
|
|
- Select a region and print it to `stdout`, while displaying the dimensions of the selection:
|
|
|
|
|
|
|
|
|
|
`slurp -d`
|
|
|
|
|
|
|
|
|
|
- Select a single point instead of a region:
|
|
|
|
|
|
|
|
|
|
`slurp -p`
|
|
|
|
|
|
|
|
|
|
- Select an output and print its name:
|
|
|
|
|
|
|
|
|
|
`slurp -o -f '%o'`
|
|
|
|
|
|
|
|
|
|
- Select a specific region and take a borderless screenshot of it, using `grim`:
|
|
|
|
|
|
|
|
|
|
`grim -g "$(slurp -w 0)"`
|
|
|
|
|
|
|
|
|
|
- Select a specific region and take a borderless video of it, using `wf-recorder`:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`wf-recorder {{[-g|--geometry]}} "$(slurp -w 0)"`
|