mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-30 16:41:40 +00:00
30 lines
568 B
Plaintext
30 lines
568 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|