.\" Generated by scdoc 1.11.2 .\" Complete documentation for this program is not available as a GNU info page .ie \n(.g .ds Aq \(aq .el .ds Aq ' .nh .ad l .\" Begin generated content: .TH "wayshot" "7" "1980-01-01" "github.com/waycrate/wayshot" "Miscellaneous Information Manual" .P .SH NAME .P Wayshot - Screenshot tool for compositors implementing zwlr_screencopy_v1 such as sway and river .P .SH SYNOPSIS .P \fBwayshot\fR [\fIoptions\fR] .P .SH REGION SELECTION wayshot -s "$(slurp)" .P .SH FULLSCREEN .P wayshot .P .SH CUSTOM FILE PATH AND EXTENSION .P wayshot -f .\&.\&/screenshot.\&png --extension ppm .P .SH SCREENSHOT AND COPY TO CLIPBOARD .P wayshot --stdout -e jpeg | wl-copy .P .SH SCREENSHOT A PARTICULAR DISPLAY .P wayshot -l # Pick any output name from the following.\& We use eDP-1 for this example.\& wayshot -o eDP-1 .P .SH PICK A HEX COLOR CODE, USING IMAGEMAGICk .P wayshot -s "$(slurp)" --stdout | convert - -format '\&%[pixel:p{0,0}]'\& txt:-|grep -E "#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})" -o .P .SH PICK A HEX COLOR CODE WITHOUT USING IMAGEMAGICK .P wayshot -s "$(slurp -p)" --stdout -e ppm | tail -c 3 | od -An -tuC | xargs printf '\&#%02X%02X%02Xn'\& .P .SH PICK A COLOR, USING IMAGEMAGICK .P wayshot -s "$(slurp -p)" --stdout | convert - -format '\&%[pixel:p{0,0}]'\& txt:- .P .SH AUTHORS .P Maintained by Shinyzenith .\& For more information about development, see .\& waycrate/wayshot>.\&