1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-03-28 21:16:20 +01:00

maim: add page (#4468)

This commit is contained in:
IDF 2020-10-28 19:30:15 +02:00 committed by GitHub
parent 076ec67f88
commit b0548ef94b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

20
pages/linux/maim.md Normal file
View file

@ -0,0 +1,20 @@
# maim
> Screenshot utility.
> More information: <https://github.com/naelstrof/maim>.
- 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}}`