snippetbashTip
slurp — Select a region in a Wayland compositor. More information: <https://github.com/emersion/slurp/blob/m
Viewed 0 times
selectregioncommandwaylandslurpclimorecompositor
linux
Problem
How to use the
slurp command: Select a region in a Wayland compositor. More information: <https://github.com/emersion/slurp/blob/master/slurp.1.scd>.Solution
slurp — Select a region in a Wayland compositor. More information: <https://github.com/emersion/slurp/blob/master/slurp.1.scd>.Select a region and print it to
stdout:slurpSelect a region and print it to
stdout, while displaying the dimensions of the selection:slurp -dSelect a single point instead of a region:
slurp -pSelect 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:wf-recorder {{[-g|--geometry]}} "$(slurp -w 0)"Code Snippets
Select a region and print it to `stdout`
slurpSelect a region and print it to `stdout`, while displaying the dimensions of the selection
slurp -dSelect a single point instead of a region
slurp -pSelect 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)"Context
tldr-pages: linux/slurp
Revisions (0)
No revisions yet.