Update cheatsheets

This commit is contained in:
ivuorinen
2025-04-26 00:18:47 +00:00
parent 9b06c2023f
commit 47db9e503e
127 changed files with 302 additions and 302 deletions

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# maim
> Screenshot utility.
> More information: <https://github.com/naelstrof/maim>.
> More information: <https://manned.org/maim>.
- Capture a screenshot and save it to the given path:
@@ -14,12 +14,12 @@ source: https://github.com/tldr-pages/tldr.git
- Capture a screenshot of the selected region:
`maim --select {{path/to/screenshot.png}}`
`maim {{[-s|--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`
`maim {{[-s|--select]}} | xclip {{[-se|-selection]}} {{[c|clipboard]}} {{[-t|-target]}} image/png`
- Capture a screenshot of the current active window (requires `xdotool`):
`maim --window $(xdotool getactivewindow) {{path/to/screenshot.png}}`
`maim {{[-i|--window]}} $(xdotool getactivewindow) {{path/to/screenshot.png}}`