Add desktop adapters and extras

This commit is contained in:
Thales Maciel 2026-02-24 12:59:19 -03:00
parent a83a843e1a
commit fb1d0c07f9
No known key found for this signature in database
GPG key ID: 33112E6833C34679
10 changed files with 383 additions and 276 deletions

View file

@ -6,13 +6,19 @@
- `src/recorder.py` handles audio capture using PortAudio via `sounddevice`.
- `src/leld.py` owns Whisper setup and transcription.
- `src/aiprocess.py` runs the in-process Llama-3.2-3B cleanup.
- `src/desktop_x11.py` encapsulates X11 hotkeys, tray, and injection.
- `src/desktop_wayland.py` scaffolds Wayland support (exits with a message).
## Build, Test, and Development Commands
- Install deps: `uv sync`.
- Install deps (X11): `uv sync --extra x11`.
- Install deps (Wayland scaffold): `uv sync --extra wayland`.
- Run daemon: `uv run python3 src/leld.py --config ~/.config/lel/config.json`.
System packages (example names): `portaudio`/`libportaudio2`, `libayatana-appindicator3`.
System packages (example names):
- Core: `portaudio`/`libportaudio2`.
- X11 tray: `libayatana-appindicator3`.
## Coding Style & Naming Conventions