On kde there’s a feature where you can pass all keys to x11 apps and on hyprland you can specify which keys get globally passed to which apps and maybe all keys.
If all else fails you can create a script that uses obs sockets and runs as root to capture keys globally. They seem to be looking into a global keys portal though.
deleted by creator
Pretty sure there is a protocol for this in development or maybe even merged already.
This is already possible
deleted by creator
On kde there’s a feature where you can pass all keys to x11 apps and on hyprland you can specify which keys get globally passed to which apps and maybe all keys.
If all else fails you can create a script that uses obs sockets and runs as root to capture keys globally. They seem to be looking into a global keys portal though.