slurp(1)
slurp - select a region in a Wayland compositor
slurp [options...]
slurp is a command-line utility to select a region from Wayland compositors which support the layer-shell protocol. It lets the user hold the pointer to select, or click to cancel the selection.
If the standard input is not a TTY, slurp will read a list of predefined rectangles for quick selection. Each line must be in the form ", x".
If the Esc key is pressed, selection is cancelled. If the Space key is held, the selection is moved instead of being resized.
-h Show help message and quit.
-d Display dimensions of selection.
-b color Set background color. See COLORS for more detail.
-c color Set border color. See COLORS for more detail.
-s color Set selection color. See COLORS for more detail.
-w weight Set border weight.
-f format Set format. See FORMAT for more detail.
-p Select a single pixel instead of a rectangle. This mode ignores any predefined rectangles read from the standard input.
Colors may be specified in #RRGGBB or #RRGGBBAA format. The # is optional.
Interpreted sequences are:
%x The x-coordinate of the selection
%y The y-coordinate of the selection
%w The width of the selection
%h The height of the selection
The default format is "%x,%y %wx%h".
Maintained by Simon Ser [email protected], who is assisted by other open-source contributors. For more information about slurp development, see https://github.com/emersion/slurp.