this post was submitted on 19 May 2026
2 points (62.5% liked)
Rust
8033 readers
46 users here now
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
Credits
- The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I've never done something similar in Wayland but judging by how Waybar is setting up it's window I guess it should be doable with backend-winit-wayland
https://docs.rs/winit/latest/winit/#building-windows
EDIT: actually, you might be a bit too early for using winit for that. But from the surrounding discussions it seems that even so, that should still be doable by interacting with wlr-layer-shell directly
EDIT2: hold on, I actually have done something similar in Wayland. Just in C++ and GTK. So if instead of using slint you could use GTK4, I guess https://github.com/wmww/gtk4-layer-shell would be the way to get it working