Admittedly, the separately downloaded backend written in Rust is kind of a huge hack. A more "proper" solution would be to use TypeScript to talk to Wayland and DBus, either through code bespoke to this plugin, or through solutions made by the wider community¹. I don't feel comfortable enough with TypeScript to pull this off properly though.
This would also potentially allow for upstreaming the plugin into Vencord's main repo.
1: Vencord/Vesktop#1180, Vencord/Vesktop#1198
Admittedly, the separately downloaded backend written in Rust is kind of a huge hack. A more "proper" solution would be to use TypeScript to talk to Wayland and DBus, either through code bespoke to this plugin, or through solutions made by the wider community¹. I don't feel comfortable enough with TypeScript to pull this off properly though.
This would also potentially allow for upstreaming the plugin into Vencord's main repo.
1: Vencord/Vesktop#1180, Vencord/Vesktop#1198