grim: add page (#9886)

Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com>
Co-authored-by: Stian Lyng <stianlyng@protonamail.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
pull/23/head
Stian Lyng 2023-05-01 07:09:15 +02:00 committed by GitHub
parent b52baff630
commit 7e3e1bb6f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 0 deletions

28
pages/linux/grim.md Normal file
View File

@ -0,0 +1,28 @@
# grim
> Grab images (Screenshots) from a Wayland compositor.
> More information: <https://sr.ht/~emersion/grim>.
- Screenshot all outputs:
`grim`
- Screenshot a specific output:
`grim -o {{path/to/output_file}}`
- Screenshot a specific region:
`grim -g "{{<x_position>,<y_position> <width>x<height>}}"`
- Select a specific region and screenshot it, (using slurp):
`grim -g "{{$(slurp)}}"`
- Use a custom filename:
`grim "{{path/to/file.png}}"`
- Screenshot and copy to clipboard:
`grim - | {{clipboard_manager}}`