grim Command Examples

Grab images (Screenshots) from a Wayland compositor. More information: https://sr.ht/~emersion/grim.

grim

grim -o {{path/to/output_file}}

grim -g "{{<x_position>,<y_position> <width>x<height>}}"

grim -g "{{$(slurp)}}"

grim "{{path/to/file.png}}"

grim - | {{clipboard_manager}}