From b0548ef94bd0bbd730bc1990b4d9e7589d8d937b Mon Sep 17 00:00:00 2001 From: IDF Date: Wed, 28 Oct 2020 19:30:15 +0200 Subject: [PATCH] maim: add page (#4468) --- pages/linux/maim.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/linux/maim.md diff --git a/pages/linux/maim.md b/pages/linux/maim.md new file mode 100644 index 000000000..3a6693ee9 --- /dev/null +++ b/pages/linux/maim.md @@ -0,0 +1,20 @@ +# maim + +> Screenshot utility. +> More information: . + +- Capture a screenshot and save it to the given path: + +`maim {{path/to/screenshot.png}}` + +- Capture a screenshot of the selected region: + +`maim --select {{path/to/screenshot.png}}` + +- Capture a screenshot of the selected region and save it in the clipboard (requires `xclip`): + +`maim --select | xclip -selection clipboard -target image/png` + +- Capture a screenshot of the current active window (requires `xdotool`): + +`maim --window $(xdotool getactivewindow) {{path/to/screenshot.png}}`