commands.sh

slop

linux

Get a selection of the screen.

More info →

Options (4)

-D, --nodragboolean

Double click, rather than click and drag, to draw a selection

Example: slop {{[-D|--nodrag]}}
-l, --highlightboolean

Highlight the selection rather than outlining it

Example: slop {{[-l|--highlight]}}
-f, --formatboolean

Specify the output format

Example: slop {{[-f|--format]}} {{format_string}}
-c, --colorboolean

Specify the selection rectangle's color

Example: slop {{[-c|--color]}} {{red}},{{green}},{{blue}},{{alpha}}

Examples (5)

Wait for the user to make a selection and output its geometry to `stdout`

Double click, rather than click and drag, to draw a selection

slop [-D|--nodrag]

Highlight the selection rather than outlining it

slop [-l|--highlight]

Specify the output format

slop [-f|--format] format_string

Specify the selection rectangle's color

slop [-c|--color] red,green,blue,alpha
made by @shridhargupta | data from tldr-pages