Skip to main content

Module linux

Module linux 

Source
Expand description

Linux / Wayland platform backend.

  • Capture: evdev (/dev/input), with xkbcommon mapping keycodes to characters for the user’s keyboard layout.
  • Synthetic input: wtype (the virtual-keyboard-v1 Wayland protocol).
  • Hotkeys: an inline hyprctl keyword bind whose exec raises SIGUSR1 on the daemon. (Hyprland-specific by design; the GlobalShortcuts portal is the planned cross-compositor route — see DESIGN.md.)
  • Focus: Hyprland’s IPC event socket (.socket2.sock).
  • Tray: ksni.

Implemented from milestone M1. See DESIGN.md.

Modules§

capture
Linux keystroke capture.
chord_capture
Chord recording from the keystroke capture loop.
clipboard
Clipboard / selection fallback (M5).
emit
Linux synthetic text input.
focus
Hyprland focus and window-close events.
hotkey
Global trigger via a Hyprland inline keybind + signals.
tray
System tray (ksni-based) for the hyprcorrect daemon.