Implement global keybinds with vicinae-hotkey-v1 on Wayland
#13453
|
Recently Vicinae came up with its own Wayland protocol for implementing global keybinds: What the protocol does is essentially what we've wanted with global keybinds all along: the app tells the compositor which keybinds they'd like to add, the compositor can allow or reject them, and when they're pressed the compositor sends an event to the app which can be processed with a callback. Straightforward, easy, no 600 lines of D-Bus hell that we currently have. In terms of compositor support, Hyprland has already gone ahead and implemented it rather swiftly, while there's an open PR for Niri. I'm not sure if KWin or Mutter would be on-board with this, but I could imagine this protocol being readily adopted by standalone compositors. In any case we still have the D-Bus implementation as a fallback for traditional DEs. |
Replies: 2 comments 2 replies
|
I cleaned up my PR, the last thing I need before I can submit it is get vouched :D |
And... Here it is: #13464