From 7e3e1bb6f0f6827bb86174b68de43af1a2ff075a Mon Sep 17 00:00:00 2001 From: Stian Lyng <71536569+Stianlyng@users.noreply.github.com> Date: Mon, 1 May 2023 07:09:15 +0200 Subject: [PATCH] grim: add page (#9886) Co-authored-by: Emily Grace Seville Co-authored-by: Stian Lyng Co-authored-by: K.B.Dharun Krishna --- pages/linux/grim.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/linux/grim.md diff --git a/pages/linux/grim.md b/pages/linux/grim.md new file mode 100644 index 000000000..d03049c87 --- /dev/null +++ b/pages/linux/grim.md @@ -0,0 +1,28 @@ +# grim + +> Grab images (Screenshots) from a Wayland compositor. +> More information: . + +- Screenshot all outputs: + +`grim` + +- Screenshot a specific output: + +`grim -o {{path/to/output_file}}` + +- Screenshot a specific region: + +`grim -g "{{, x}}"` + +- 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}}`