Files
samios/packaging/scripts/samios-voice.service
Sami Ahmed 2b969b2754
SamiOS CI / lint-and-test (push) Successful in 6s
Add voice-bridge.py prototype + systemd service, LibreOffice in package list
- voice-bridge.py: SamiType → Hermes router with dictation mode
- Handles command mode (→Hermes) and dictation mode (→xdotool typing)
- Dictation commands: punctuation, formatting, scratch/undo, stop
- Fallback to hermes CLI if API unavailable
- systemd service unit for always-on voice
2026-08-11 03:55:31 -07:00

17 lines
363 B
Desktop File

[Unit]
Description=SamiOS Voice Bridge (SamiType → Hermes)
After=pipewire.service graphical-session.target
Wants=pipewire.service
[Service]
Type=simple
ExecStart=/usr/bin/python3 /usr/local/bin/voice-bridge.py
Restart=on-failure
RestartSec=3
Environment=DISPLAY=:0
Environment=XDG_RUNTIME_DIR=/mnt/wslg/runtime-dir
User=sami
[Install]
WantedBy=default.target