mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-18 15:50:02 +00:00
Update cheatsheets
This commit is contained in:
@@ -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}}`
|
||||
|
||||
Reference in New Issue
Block a user