A native, blazing-fast 🚀🚀🚀 screenshot tool for wlroots based compositors such as sway and river written in Rust.
NOTE: Read man 7 wayshot for more examples.
NOTE: Read man wayshot for flag information.
Region Selection:
wayshot -s "$(slurp)"Fullscreen:
wayshotScreenshot and copy to clipboard:
wayshot --stdout | wl-copyPick a hex color code, using ImageMagick:
wayshot -s "$(slurp -p)" --stdout | convert - -format '%[pixel:p{0,0}]' txt:-|grep -E "#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})" -owayshot-git & wayshot-bin have been packaged.
- scdoc (If present, man-pages will be generated.)
- rustup
- make
- meson (Required to build XDPW.)
- ninja (Required to build XDPW.)
git clone https://github.com/waycrate/wayshot && cd wayshotmake setupmakesudo make install
Massive thanks to smithay developer Cmeissl and Victor Berger. Without them this project won't be possible as my wayland knowledge is limited.