swappy/swappy.1.scd
2019-12-28 21:43:44 -05:00

65 lines
1.3 KiB
Markdown

swappy(1)
# NAME
swappy - grab and edit on the fly snapshots of a Wayland compositor
# DESCRIPTION
*swappy* [options...]
# SYNOPSIS
swappy is a command-line utility to take and edit screenshots of Wayland desktops. For now
it requires support for the screencopy protocol to work.
swappy will save the swappshot images to a timestamped file name in
*$XDG_DESKTOP_DIR*. If this variable is not set, it will revert to: *$XDG_CONFIG_HOME/Desktop*.
If *$XDG_CONFIG_HOME* is not set, it will revert to: *$HOME/Desktop*.
# KEY BINDINGS
## LAYOUT
- *Ctrl+b*: Toggle Paint Panel
## PAINT MODE
- *b*: Switch to Brush
- *t*: Switch to Text
- *r*: Switch to Rectangle
- *o*: Switch to Ellipse
- *a*: Switch to Arrow
- *R*: Use Red Color
- *G*: Use Green Color
- *B*: Use Blue Color
- *C*: Use Custom Color
- *Minus*: Reduce Stroke Size
- *Plus*: Increase Stroke Size
- *Equal*: Reset Stroke Size
- *k*: Clear Paints (cannot be undone)
## HEADER BAR
- *Ctrl+z*: Undo
- *Ctrl+Shift+z* or *Ctrl+y*: Redo
- *Ctrl+s*: Save to file (see man page)
- *Ctrl+c*: Copy to clipboard
- *Escape* or *q*: Quit swappy
# OPTIONS
*-h*
Show help message and quit.
*-g* "<x>,<y> <width>x<height>"
Set the region to capture, in layout coordinates.
This is slurp friendly.
# AUTHORS
Written and maintained by jtheoof <contact@jtheoof.me>. See
https://github.com/jtheoof/swappy.