#screenshot #wlroots #wayshot #wayland

libwayshot

Screenshot crate for wlroots based compositors implementing the zwlr_screencopy_v1 protocol

12 releases (6 breaking)

Uses new Rust 2024

0.7.2 Jan 20, 2026
0.7.1 Jan 20, 2026
0.6.0 Dec 18, 2025
0.5.0 Dec 14, 2025
0.1.2 Jul 3, 2023

#73 in GUI

Download history 896/week @ 2025-11-09 1026/week @ 2025-11-16 1013/week @ 2025-11-23 1569/week @ 2025-11-30 1826/week @ 2025-12-07 1532/week @ 2025-12-14 1099/week @ 2025-12-21 1177/week @ 2025-12-28 1650/week @ 2026-01-04 2081/week @ 2026-01-11 8010/week @ 2026-01-18 4752/week @ 2026-01-25 3819/week @ 2026-02-01 4759/week @ 2026-02-08 3922/week @ 2026-02-15 2291/week @ 2026-02-22

15,200 downloads per month
Used in 16 crates (4 directly)

BSD-2-Clause

145KB
3.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

~16–27MB
~468K SLoC