Hello,
I’m creating WASM plugins for zellij and I would love to have some ways to access dbus to send messages. At least for now I only have ideas to access dbus as a client (sending desktop notification when certains event happens, integrate a mpris-player-ctl so I can control the music from keybindings anywhere from my terminal, …).
I would love to find a library that could help. For now I’m relying on calling busctl and interpreting its json… which is not that good (and less portable than using an actual lib).
At first I though your lib was not usable since even your blocking interface require an async runtime, but at least tokio have some limited support for WASM: https://docs.rs/tokio/latest/tokio/#wasm-support.
Do you think this may happens someday? Or tokio’s support lack some crucial features?
On zellij’s side, I cannot guarantee full hard drive access, but I can point the "cwd" to whichever directory is needed, so it would be best if I could enter the unix socket’s I want to use instead of letting the lib decide for itself.
Hello,
I’m creating WASM plugins for zellij and I would love to have some ways to access dbus to send messages. At least for now I only have ideas to access dbus as a client (sending desktop notification when certains event happens, integrate a mpris-player-ctl so I can control the music from keybindings anywhere from my terminal, …).
I would love to find a library that could help. For now I’m relying on calling
busctland interpreting its json… which is not that good (and less portable than using an actual lib).At first I though your lib was not usable since even your blocking interface require an
asyncruntime, but at leasttokiohave some limited support for WASM: https://docs.rs/tokio/latest/tokio/#wasm-support.Do you think this may happens someday? Or tokio’s support lack some crucial features?
On zellij’s side, I cannot guarantee full hard drive access, but I can point the "cwd" to whichever directory is needed, so it would be best if I could enter the unix socket’s I want to use instead of letting the lib decide for itself.