Commit graph

2 commits

Author SHA1 Message Date
6723c9a59e whisrs: stream phrases sooner and type slower for TUIs
Streaming dictation only emits a phrase after phrase_silence_ms of
silence; the 400ms default stalled long continuous speech until the
20s force-split, which read as "the text cuts off". 250ms emits at
short breathing pauses instead.

key_delay_ms was the 2ms default, which drops characters in busy
Node/Ink TUIs like the pi chat while they are streaming output;
10ms keeps dictation readable there.
2026-09-18 06:50:09 +09:00
Jeena
7102e59dc5 hypr: guard whisrs hold-to-talk binds with daemon state
Long holds occasionally dropped the release event in Hyprland, leaving
whisrs recording until its silence auto-stop, and any stray toggle
(key repeat, re-fired press) could invert the state so that pressing
stopped and releasing started. The press and release binds now go
through tiny scripts that check the daemon status first, making the
toggle pair idempotent: start only when idle, stop only when recording.

Also a note-to-self: Hyprland auto-reloads when files under the config
symlink change, so a git rebase in this repo can transiently drop
newly added binds; run hyprctl reload after git operations.
2026-09-15 08:36:08 +09:00