README rewritten to lead with the push-to-talk setup script as
the main feature, with the full OpenWhispr installer demoted to
an optional collapsed section. Documents known Linux bugs in
OpenWhispr (Hold mode, Ctrl+Super, settings persistence).
CHANGELOG updated with v1.1.0 entry.
https://claude.ai/code/session_01XKYC1basxdwtHy71tky7xm
When run via `bash <(curl ...)`, bash reads the script incrementally
from a process substitution fd. If a `read < /dev/tty` call disrupts
the fd state, bash can lose its place and the remaining script lines
get fed to the interactive shell prompt as individual commands.
Wrapping everything in main() forces bash to parse the entire script
into memory before executing any of it — the standard fix for
curl-piped scripts.
Also changed README one-liner to download-then-execute pattern
(curl -o /tmp/... && bash /tmp/...) as a belt-and-suspenders approach.
https://claude.ai/code/session_01XKYC1basxdwtHy71tky7xm
- Add `exec < /dev/tty` so `read` works correctly when run via
`bash <(curl ...)` — fixes script failing after pasting API keys
or clicking terminal links
- Search /opt/, /usr/lib/, /snap/bin/ and `dpkg -L` for the
open-whispr binary — fixes "Could not find openwhispr in PATH"
- Replace YOUR_USERNAME with outis1one in all files
- Show detected binary name in summary useful commands
https://claude.ai/code/session_01XKYC1basxdwtHy71tky7xm