| Crates.io | libwayshot |
| lib.rs | libwayshot |
| version | 0.7.2 |
| created_at | 2023-07-03 07:09:06.499878+00 |
| updated_at | 2026-01-20 13:36:05.003808+00 |
| description | Screenshot crate for wlroots based compositors implementing the zwlr_screencopy_v1 protocol. |
| homepage | |
| repository | https://github.com/waycrate/wayshot |
| max_upload_size | |
| id | 906757 |
| size | 186,312 |
A native, blazing-fast 🚀🚀🚀 screenshot crate for wlroots based compositors such as sway and river.
libwayshotlibwayshot is a convenient wrapper over the wlroots screenshot protocol that provides a simple API to take screenshots with.
use libwayshot::WayshotConnection;
let wayshot_connection = WayshotConnection::new()?;
let image_buffer = wayshot_connection.screenshot_all()?;