Skip to content

v0.10.2 — fix key release during server startup

Choose a tag to compare

@SubZtep SubZtep released this 14 Jun 17:16
· 8 commits to main since this release
Immutable release. Only release title and notes can be modified.

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:

  1. /tmp/stt.recording is now created before the readiness loop (was after), so the bindr can act immediately on key release
  2. The bindr now removes /tmp/stt.recording in 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 | bash

Note: existing installs also need the Hyprland keybinding updated. Re-run setup.sh, or replace the bindr lines 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'