snippetbashTip
slop — Get a selection of the screen. More information: <https://manned.org/slop>.
Viewed 0 times
thecommandselectionslopcliscreenmoreget
linux
Problem
How to use the
slop command: Get a selection of the screen. More information: <https://manned.org/slop>.Solution
slop — Get a selection of the screen. More information: <https://manned.org/slop>.Wait for the user to make a selection and output its geometry to
stdout:slopDouble 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}}Code Snippets
Wait for the user to make a selection and output its geometry to `stdout`
slopDouble 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}}Context
tldr-pages: linux/slop
Revisions (0)
No revisions yet.