Repository navigation
v0.10.2 — fix key release during server startup
Fix
Key release now works during server readiness wait — previously releasing the key while speaches was still starting up had no effect: the bindr only killed ffmpeg, which doesn't exist yet during the readiness check. stt kept polling for the full 30 seconds and then showed the error.
Two-part fix:
/tmp/stt.recordingis now created before the readiness loop (was after), so the bindr can act immediately on key release- The bindr now removes
/tmp/stt.recordingin addition to killing ffmpeg — the readiness loop checks for its absence each iteration and exits cleanly (no error notification)
Install / update
curl -fsSL https://stt.demo.land/setup.sh | bashNote: existing installs also need the Hyprland keybinding updated. Re-run setup.sh, or replace the
bindrlines in your Hyprland config with:bindr = SUPER, grave, exec, sh -c 'rm -f /tmp/stt.recording; kill -INT "$(cat /tmp/stt.ffmpeg.pid 2>/dev/null)" 2>/dev/null; true' bindr = , grave, exec, sh -c 'rm -f /tmp/stt.recording; kill -INT "$(cat /tmp/stt.ffmpeg.pid 2>/dev/null)" 2>/dev/null; true'