How mohamedattiadev/hintium works
Hintium is a keyboard-driven desktop accessibility controller. The user invokes a mode through the launcher; the resident daemon dispatches it, gathers accessible elements or windows, presents targets, and performs the selected action. Distinct modes cover hinting/clicking, scrolling, search, caret navigation, and editing fields in an external editor. Shared internals include AT-SPI discovery, overlays, input backends, configuration, and theme handling. Edges reflect README statements and the supplied source index/excerpts; unsampled implementation details are not assumed.
Main entry points: service.py Resident daemon · x11.py X11 input · overlay.py Target overlay · click.py Hint and click
Components 20
Runtime orchestration
- Mode launcher
bin/hintium - Resident daemon
hintium/service.py
Interaction modes
- Hint and click
hintium/click.py - Scroll mode
hintium/scroll.py - Search mode
hintium/search.py - Caret mode
hintium/caret.py - Field editor
hintium/edit.py
Target discovery
- Accessible elements
hintium/elements.py - Window targets
hintium/windows.py
Desktop integration
- X11 input
hintium/x11.py - Hyprland IPC
hintium/hypr.py
Shared presentation and settings
- Target overlay
hintium/overlay.py - Hint labels
hintium/hints.py - Runtime settings
hintium/config.py - Config commands
hintium/userconfig.py - Theme palette
hintium/theme.py - Theme presets
hintium/themes.py
Other components
- User
- AT-SPI desktop
- External editor
Connections 29
- User → Mode launcher: invokes mode
README.md - Mode launcher → Resident daemon: sends command
README.md - Resident daemon → Hint and click: dispatches
hintium/service.py - Resident daemon → Scroll mode: dispatches
hintium/service.py - Resident daemon → Search mode: dispatches
hintium/service.py - Resident daemon → Caret mode: dispatches
hintium/service.py - Resident daemon → Field editor: dispatches
hintium/service.py - Resident daemon → Accessible elements: queries
hintium/service.py - Resident daemon → Window targets: collects targets
hintium/service.py - Accessible elements → AT-SPI desktop: queries tree
hintium/elements.py - Hint and click → Target overlay: presents targets
hintium/overlay.py - Scroll mode → Target overlay: presents regions
hintium/overlay.py - Search mode → Target overlay: presents matches
hintium/search.py - Caret mode → Target overlay: presents targets
hintium/caret.py - Hint and click → Hint labels: assigns labels
hintium/hints.py - Hint and click → X11 input: sends clicks
hintium/click.py - Scroll mode → X11 input: sends scroll input
hintium/scroll.py - Caret mode → X11 input: sends key input
hintium/caret.py - Field editor → External editor: opens field
README.md - Field editor → Accessible elements: reads fields
hintium/edit.py - Field editor → X11 input: controls focus
hintium/edit.py - Window targets → Hyprland IPC: queries windows
hintium/windows.py - Window targets → X11 input: queries windows
hintium/windows.py - Resident daemon → Config commands: handles config commands
hintium/service.py - Config commands → Runtime settings: reads settings
hintium/userconfig.py - Theme palette → Runtime settings: reads palette settings
hintium/theme.py - Theme palette → Theme presets: loads presets
hintium/theme.py - Target overlay → Theme palette: draws with palette
hintium/overlay.py - Hyprland IPC → X11 input: Wayland fallback