mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-17 05:49:22 +00:00
Update cheatsheets
This commit is contained in:
33
linux/grim
Normal file
33
linux/grim
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user