mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 23:22:07 +02:00

* as suggested in #10428 * standard input => `stdin` * standard output => `stdout` * standard error => `stderr` Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
24 lines
476 B
Markdown
24 lines
476 B
Markdown
# slop
|
|
|
|
> Get a selection of the screen.
|
|
> More information: <https://github.com/naelstrof/slop>.
|
|
|
|
- Wait for the user to make a selection and output its geometry to `stdout`:
|
|
|
|
`slop`
|
|
|
|
- Double click, rather than click and drag, to draw a selection:
|
|
|
|
`slop -D`
|
|
|
|
- Highlight the selection rather than outlining it:
|
|
|
|
`slop -l`
|
|
|
|
- Specify the output format:
|
|
|
|
`slop -f {{format_string}}`
|
|
|
|
- Specify the selection rectangle's color:
|
|
|
|
`slop -c {{red}},{{green}},{{blue}},{{alpha}}`
|