1 unstable release
Uses new Rust 2024
new 0.3.2 | May 11, 2025 |
---|
#1095 in GUI
Used in 2 crates
(via xcap)
82KB
1.5K
SLoC
libwayshot
is a convenient wrapper over the wlroots screenshot protocol
that provides a simple API to take screenshots with.
To get started, look at WayshotConnection
.
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()?;
Dependencies
~6–17MB
~232K SLoC