Skip to content

Latest commit

 

History

History
73 lines (45 loc) · 1.57 KB

slurp.1.scd

File metadata and controls

73 lines (45 loc) · 1.57 KB

slurp(1)

NAME

slurp - select a region in a Wayland compositor

DESCRIPTION

slurp [options...]

SYNOPSIS

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.

OPTIONS

-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

Colors may be specified in #RRGGBB or #RRGGBBAA format. The # is optional.

FORMAT

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".

AUTHORS

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.