Hey smart people, can someone tell me how the hell to attach a shell to a compositor (specifically, the shell I'm writing, to Phoc)?

I can't read the Phoc docs, I think I'll still need to generate FFI bindings and do some witchcraft to get it connected to Rust but. I have a Wayland window, how do I attach it to Phoc as part of the shell? Do/can I embed Phoc inside of my shell somehow?

#rust #rustlang #iced #phosh

Follow

@blake Make your shell use the wlr-layer-shell protocol. See how phosh, squeekboard or phosh-osk-stub do it. Alternatively you can get the "shell in a box" in rust using libphosh-rs: gitlab.gnome.org/guidog/libpho

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml