So, as far as I understand, this works with gtk3, which will still work with Xwayland, but will eventually be phased out?
Anyway, I think I will just use gtk4 layer shell and hope it supports all compositors eventually
It looks like GNOME is the only compositor that doesn’t support the wlr_layer_shell protocol, which is anything but surprising. Smithay works (Cosmic and Niri), wlroots works, Kwin and Mir work, Aquamarine (Hyprland) is not listed, but I know that it works.
You’ll have to look into GTK’s Layer Shell implementation.
Look at the source of Eww. It’s written in Rust, it uses GTK (or GDK?), and it has a config option that opens the windows in the bottom layer.
https://github.com/elkowar/eww/blob/fddb4a09b107237819e661151e007b99b5cab36d/crates/eww/src/display_backend.rs#L61
So, as far as I understand, this works with gtk3, which will still work with Xwayland, but will eventually be phased out?
Anyway, I think I will just use gtk4 layer shell and hope it supports all compositors eventually
It looks like GNOME is the only compositor that doesn’t support the
wlr_layer_shellprotocol, which is anything but surprising. Smithay works (Cosmic and Niri), wlroots works, Kwin and Mir work, Aquamarine (Hyprland) is not listed, but I know that it works.