Is it possible to launch gui programs using the kanata module? I’m trying to create a layer with keys to launch several terminals, but the root user is running them and they can’t access the current user’s DISPLAY variable.
If this is not possible with kanata, what other options are available? Would keyd work, for example?
Sorry if I’m being dumb, but I can’t tell whether you think keymapper isn’t packaged for NixOS (it is) or if you know that but want something else anyway.
Because I tried to do the same thing with swhkd, and I couldn’t get sudo, pkexec, etc. to work either. Same with sudo and kanata, actually. swhkd has a NixOS module in the works, apparently, but development seems to have stagnated a tad, I think…?