libwayshot

Crates.iolibwayshot
lib.rslibwayshot
version0.7.2
created_at2023-07-03 07:09:06.499878+00
updated_at2026-01-20 13:36:05.003808+00
descriptionScreenshot crate for wlroots based compositors implementing the zwlr_screencopy_v1 protocol.
homepage
repositoryhttps://github.com/waycrate/wayshot
max_upload_size
id906757
size186,312
Access (Decodetalkers)

documentation

README

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

use libwayshot::WayshotConnection;

let wayshot_connection = WayshotConnection::new()?;
let image_buffer = wayshot_connection.screenshot_all()?;
Commit count: 319

cargo fmt