#screenshot #wlroots #wayshot #wayland

libwayshot-freeze-feat-andrean

libwayshot-freeze-feat-andrean` is a convenient wrapper over the wlroots screenshot protocol that provides a simple API to take screenshots with

1 unstable release

new 0.3.2-dev Nov 21, 2025

#23 in #wlroots


Used in coomer-wayshot

BSD-2-Clause

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.


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()?;

Dependencies

~7–20MB
~268K SLoC