wez / evremap

A keyboard input remapper for Linux/Wayland systems, written by @wez
MIT License
401 stars 32 forks source link

Application-specific remapping #76

Open Jake-Shadle opened 3 months ago

Jake-Shadle commented 3 months ago

First of all, thank you so much for this project, it worked for what I wanted on the first try after more time than I would like to admit banging my head against keyd.

One thing that keyd does have that I am missing is the ability to have application specific configs/remaps. Basically keyd opens a pipe in the daemon and has a separate python program that runs as another daemon watching for window change events (X, KDE, sway, and GNOME) and if the focused window matches one of the configured mappings, sends those mappings to the daemon that overlay until the window changes.

Would such a feature be interesting? I'd be willing to implement it (or at least for X11, which I can actually test easily on my machines) if it seems reasonable, if not it's not a huge deal as I can just stop evremap when not using the application that I want the remapping for.