@FlorianMargaine You might have an idea: I'm thinking about extending switcheroo's idea to everything, a general task runner and switcher. To do that an obvious choice is some server, listening on a unix socket or something like that, which programs connect to, and switcheroo asks them for listings of things.
User hits some key chord, UI pops up, does fuzzy matching etc, on selection, switcheroo sends a message to whichever client gave it the selection that so-and-so was selected, and gives it focus.