table of contents
swappy(1) | General Commands Manual | swappy(1) |
NAME¶
swappy - grab and edit on the fly snapshots of a Wayland compositor
SYNOPSIS¶
swappy [options...]
DESCRIPTION¶
swappy is a command-line utility to take and edit screenshots of Wayland desktops. Works great with grim, slurp and sway. But can easily work with other screen copy tools that can output a final image to stdout.
swappy will save the annotated images to the config save_dir, see below.
If absent, then if it will try to default to a Desktop folder following this pattern: $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.
OPTIONS¶
-h, --help
-v, --version
-f, --file <file>
If set to -, read the file from standard input instead. This is grim friendly.
-o, --output-file <file>
If set to -, prints the final surface to stdout.
Note that the Save button will save the image to the config save_dir parameter, as described in the DESCRIPTION section.
CONFIG FILE¶
The config file is located at $XDG_CONFIG_HOME/swappy/config or at $HOME/.config/swappy/config. The file follows the GLib conf format.
[Section] key=value
The following lines can be used as swappy's default:
[Default] save_dir=$HOME/Desktop save_filename_format=swappy-%Y%m%d-%H%M%S.png show_panel=false line_size=5 text_size=20 text_font=sans-serif paint_mode=brush early_exit=false fill_shape=false
KEY BINDINGS¶
LAYOUT¶
PAINT MODE¶
MODIFIERS¶
HEADER BAR¶
AUTHORS¶
Written and maintained by jtheoof <contact@jtheoof.me>. See https://github.com/jtheoof/swappy.
2022-12-01 |