2025-03-14 21:59:59 -06:00
|
|
|
# maim
|
|
|
|
|
|
|
|
|
|
> Screenshot utility.
|
2025-05-08 12:26:01 -06:00
|
|
|
> More information: <https://manned.org/maim>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Capture a screenshot and save it to the given path:
|
|
|
|
|
|
|
|
|
|
`maim {{path/to/screenshot.png}}`
|
|
|
|
|
|
|
|
|
|
- Capture a screenshot of the selected region:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`maim {{[-s|--select]}} {{path/to/screenshot.png}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Capture a screenshot of the selected region and save it in the clipboard (requires `xclip`):
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`maim {{[-s|--select]}} | xclip {{[-se|-selection]}} {{[c|clipboard]}} {{[-t|-target]}} image/png`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Capture a screenshot of the current active window (requires `xdotool`):
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`maim {{[-i|--window]}} $(xdotool getactivewindow) {{path/to/screenshot.png}}`
|