mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 00:35:33 +02:00
slurp: add page (#13459)
--------- Co-authored-by: spageektti <git@spageektti.cc>
This commit is contained in:
parent
e1bfe1cd0a
commit
3cf2ed3b59
1 changed files with 28 additions and 0 deletions
28
pages/linux/slurp.md
Normal file
28
pages/linux/slurp.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
# slurp
|
||||
|
||||
> Select a region in a Wayland compositor.
|
||||
> More information: <https://github.com/emersion/slurp>.
|
||||
|
||||
- Select a region and print it to `stdout`:
|
||||
|
||||
`slurp`
|
||||
|
||||
- Select a region and print it to `stdout`, while displaying the dimensions of the selection:
|
||||
|
||||
`slurp -d`
|
||||
|
||||
- Select a single point instead of a region:
|
||||
|
||||
`slurp -p`
|
||||
|
||||
- Select an output and print its name:
|
||||
|
||||
`slurp -o -f '%o'`
|
||||
|
||||
- Select a specific region and take a borderless screenshot of it, using `grim`:
|
||||
|
||||
`grim -g "$(slurp -w 0)"`
|
||||
|
||||
- Select a specific region and take a borderless video of it, using `wf-recorder`:
|
||||
|
||||
`wf-recorder --geometry "$(slurp -w 0)"`
|
Loading…
Add table
Reference in a new issue