1 unstable release
Uses new Rust 2024
| 0.1.0 | Sep 26, 2025 |
|---|
#822 in Filesystem
28KB
794 lines
wl-snip
Wayland screenshot tool.
Dependencies
- slurp
- grim
- hyprpicker (for hyprpicker-related flags)
- satty (for satty-related flags)
- wl-copy (for wl-copy-related flags)
Features
niri(enablesniri-ipc)
Usage
Usage: wl-snip [OPTIONS] <TARGET>
Arguments:
<TARGET> Which object to capture [possible values: output, window, region, screen]
Options:
-s, --source <SOURCE>
Choose whether to pick a target or get the currently focused target. Default: focused if available [possible values: focused, pick]
-z, --freeze
Freeze screen, using hyprpicker
-e, --edit
Manually edit screenshot using satty
-o, --outdir <OUTDIR>
Save screenshot to specified directory
-t, --tmp
Save screenshot to $XDG_RUNTIME_DIR or $TMPDIR. Does nothing if unset.
-c, --copy
Serve screenshot to clipboard. Clipboard is erased if new content is pasted. (Note: This is completely separate from satty's clipboard action and may be used independently of satty.)
-B, --slurp-background-color <SLURP_BACKGROUND_COLOR>
Slurp background color
-C, --slurp-border-color <SLURP_BORDER_COLOR>
Slurp border color
-S, --slurp-selection-color <SLURP_SELECTION_COLOR>
Slurp selection color
-F, --slurp-font-family <SLURP_FONT_FAMILY>
Slurp font family
-y, --clip
Copy with wl-copy
-h, --help
Print help
-V, --version
Print version
Dependencies
~9–22MB
~295K SLoC