Screenshot tool for wlroots based compositors which implements zwlr-screencopy-v1.
[fix] Incorrect docs dir
[feature] Split backend into libwayshot
[feature] Custom XDPW implementation using wayshot



You can also use your local clone with git send-email.


A native, blazing-fast 🚀🚀🚀 screenshot tool for wlroots based compositors such as sway and river written in Rust.

#Some usage examples:

NOTE: Read man 7 wayshot for more examples.

NOTE: Read man wayshot for flag information.

Region Selection:

wayshot -s "$(slurp)"



Screenshot and copy to clipboard:

wayshot --stdout | wl-copy

Pick a hex color code, using ImageMagick:

wayshot -s "$(slurp -p)" --stdout | convert - -format '%[pixel:p{0,0}]' txt:-|egrep "#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})" -o

#Known bugs:

Multi monitor systems break on --slurp usage. This is quite the tricky bug and will need some refactoring which we're currently working on. (https://github.com/waycrate/wayshot/issues/7)



wayshot-git & wayshot-bin have been packaged.

#Compile time dependencies:

  • scdoc (If present, man-pages will be generated.)
  • rustup
  • make
  • eson (Required to build XDPW.)
  • inja (Required to build XDPW.)


  • git clone https://github.com/waycrate/wayshot && cd wayshot
  • make setup
  • make
  • sudo make install


  1. https://matrix.to/#/#waycrate-tools:matrix.org
  2. https://discord.gg/KKZRDYrRYW

#Smithay Developers:

Massive thanks to smithay developer Cmeissl and Victor Berger. Without them this project won't be possible as my wayland knowledge is limited.