Examples (6)
Screenshot all outputs
Screenshot a specific output
grim -o path/to/output_fileScreenshot a specific region
grim -g "x_position,y_position widthxheight"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_managermade by @shridhargupta | data from tldr-pages