2020-10-28 10:29:18 -07:00
|
|
|
# slop
|
|
|
|
|
|
|
|
> Get a selection of the screen.
|
|
|
|
> More information: <https://github.com/naelstrof/slop>.
|
|
|
|
|
2023-08-09 07:29:02 +02:00
|
|
|
- Wait for the user to make a selection and output its geometry to `stdout`:
|
2020-10-28 10:29:18 -07:00
|
|
|
|
|
|
|
`slop`
|
|
|
|
|
|
|
|
- Double click, rather than click and drag, to draw a selection:
|
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`slop {{[-D|--nodrag]}}`
|
2020-10-28 10:29:18 -07:00
|
|
|
|
|
|
|
- Highlight the selection rather than outlining it:
|
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`slop {{[-l|--highlight]}}`
|
2020-10-28 10:29:18 -07:00
|
|
|
|
|
|
|
- Specify the output format:
|
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`slop {{[-f|--format]}} {{format_string}}`
|
2020-10-28 10:29:18 -07:00
|
|
|
|
|
|
|
- Specify the selection rectangle's color:
|
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`slop {{[-c|--color]}} {{red}},{{green}},{{blue}},{{alpha}}`
|