# /etc/keyd/cadmus.conf # # Tap Right Alt -> launch cadmus (spell picker) # Hold Right Alt -> normal AltGr behavior (unchanged) # # `command(...)` is run by the keyd daemon as root, so we use runuser # to drop into your normal user account, then call the launcher # wrapper which sets up Wayland/DBus env vars before exec'ing `cadmus`. [ids] * [main] rightalt = overload(altgr, command(runuser -u __USER__ -- /usr/local/bin/cadmus-launch))