wayshot

A native, blazing-fast 🚀🚀🚀 screenshot crate for wlroots based compositors such as sway and river.

libwayshot

libwayshot is a convenient wrapper over the wlroots screenshot protocol that provides a simple API to take screenshots with.

Example usage

```rust use libwayshot::WayshotConnection;

let wayshotconnection = WayshotConnection::new().unwrap(); let imagebuffer = wayshotconnection.screenshotall().unwrap(); ```