summaryrefslogtreecommitdiff
path: root/bin/macos-defaults-diff
diff options
context:
space:
mode:
authorIgor Soarez <igor@soarez.org>2026-10-01 21:24:09 +0300
committerIgor Soarez <igor@soarez.org>2026-10-01 21:24:09 +0300
commit5919160d02bca068a3ea8c30160013aad8236700 (patch)
tree925e45e6fa9731483656f399efc553d62455b151 /bin/macos-defaults-diff
parentcf4c4424a695235f7288a64ab47e6f71d9e23dc0 (diff)
bin/wispr-keys: Flow dictation on the Caps Lock key
Push to talk on F20, Command Mode on Ctrl+F20, written into Flow's config.json because its settings screen refuses F20 without a modifier while its key listener accepts it. The key codes and action names come from reading Flow 1.6.1021's app.asar: shortcuts are keyed by macOS key codes string-sorted and joined with "+", f20 is 90, ctrl is 59, ptt is Push to talk and lens is Command Mode. splitKeybinds is kept in step so Flow cannot read back a disagreeing pair. A bin/ tool rather than a link/ part, though it was proposed as one. It has to quit and restart Flow for an edit to stick, and link.sh runs unattended after every sync: a part that can kill a dictation mid-sentence is a poor trade for a binding that can wait until someone asks for it. On demand it is also free to fail loudly, since nothing else's run depends on it. Flow ignores an AppleScript quit, so it gets a TERM; and it is launched by bundle id, because the bundle contains a second app also called "Wispr Flow" -- its Swift helper -- that `open -a` can start instead, which exits at once. The file as first found is kept as config.json.pre-wispr-keys.
Diffstat (limited to 'bin/macos-defaults-diff')
0 files changed, 0 insertions, 0 deletions