Options (5)
-s, --selectbooleanCapture a screenshot of the selected region
Example:
maim {{[-s|--select]}} {{path/to/screenshot.png}}booleanCapture a screenshot of the selected region and save it in the clipboard (requires `xclip`)
Example:
maim {{[-s|--select]}} | xclip {{[-se|-selection]}} {{[c|clipboard]}} {{[-t|-target]}} image/pngbooleanCapture a screenshot of the selected region and save it in the clipboard (requires `xclip`)
Example:
maim {{[-s|--select]}} | xclip {{[-se|-selection]}} {{[c|clipboard]}} {{[-t|-target]}} image/png-tbooleanCapture a screenshot of the selected region and save it in the clipboard (requires `xclip`)
Example:
maim {{[-s|--select]}} | xclip {{[-se|-selection]}} {{[c|clipboard]}} {{[-t|-target]}} image/png-i, --windowbooleanCapture a screenshot of the current active window (requires `xdotool`)
Example:
maim {{[-i|--window]}} $(xdotool getactivewindow) {{path/to/screenshot.png}}Examples (4)
Capture a screenshot and save it to the given path
maim path/to/screenshot.pngCapture a screenshot of the selected region
maim [-s|--select] path/to/screenshot.pngCapture a screenshot of the selected region and save it in the clipboard (requires `xclip`)
Capture a screenshot of the current active window (requires `xdotool`)
maim [-i|--window] $(xdotool getactivewindow) path/to/screenshot.pngmade by @shridhargupta | data from tldr-pages