1 unstable release
Uses new Rust 2024
| 0.3.2 | May 11, 2025 |
|---|
#1436 in GUI
2,857 downloads per month
Used in 7 crates
(2 directly)
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
~12–23MB
~358K SLoC