3 releases (breaking)
0.3.0 | Oct 8, 2023 |
---|---|
0.2.0 | Aug 2, 2023 |
0.1.2 | Jul 3, 2023 |
#1730 in GUI
2,008 downloads per month
Used in 9 crates
(3 directly)
38KB
886 lines
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().unwrap();
let image_buffer = wayshot_connection.screenshot_all().unwrap();
Dependencies
~7–17MB
~251K SLoC