cadmus.conf 443 B

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