Repository navigation
Make Superwhisper the default dictation backend - #14620
Closed
nchudleigh wants to merge 3 commits into
Closed
nchudleigh wants to merge 3 commits into
nchudleigh wants to merge 3 commits into
Conversation
Superwhisper comes first under Setup > Defaults > Dictation, and the first-run invitation installs it; Voxtype stays a choice in that menu. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A migration installs a post-update hook, which runs after the update's shell restart and sends one notification on a machine with Voxtype and without Superwhisper. Clicking it starts Superwhisper's installer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A backend that binds F9, Right Alt or Super+Ctrl+X itself (Superwhisper's own shortcuts) can unbind Omarchy's binding through o.dictation_keys instead of both firing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Four small changes on top of #14552.
Superwhisper as the default for new installs. It comes first under Setup > Defaults > Dictation. The first-run invitation reads "Install Dictation with Superwhisper" and runs
omarchy-default-dictation superwhisper. Voxtype stays in that menu, and the manual names Superwhisper as the default. Line 17 of the manual no longer calls Superwhisper the alternative.One invitation for existing Voxtype users. A migration installs
try-superwhisper.hookas a post-update hook, the waysetup-agent.hookreached existing accounts. It runs after the update's shell restart. On a machine with Voxtype and without Superwhisper it sends one notification that starts Superwhisper's installer. New installs mark the migration done, so they never see it.The dictation keys are listed in
o.dictation_keys. When someone sets one of Superwhisper's own shortcuts to F9, Right Alt or Super+Ctrl+X, Superwhisper's generatedshortcuts.luacanhl.unbindOmarchy's binding for that key instead of both firing. It is onehl.unbind(keys)per key: in Hyprland 0.56.2, unbinding a key's press and release handles one at a time crashes. The Superwhisper side is superultrainc/superwhisper-linux#84. It also re-checkshyprctl bindsafter reloading and rolls back if another binding still holds the key, so it stays safe on an Omarchy without this list.Superwhisper's own shortcuts use Omarchy's keys, set once.
omarchy-install-dictation-superwhisperused to set Superwhisper's toggle to Alt+Space and its hold to none on every selection. That added a second toggle beside Super+Ctrl+X, and re-selecting Superwhisper overwrote any shortcut the user had chosen since. The first setup now sets the toggle to Super+Ctrl+X and the hold to Right Alt. Superwhisper takes those keys over and handles them itself:F9 stays Omarchy's push-to-talk. Later selections leave the shortcuts alone (an
omarchy-donemarker). A Superwhisper release that refuses Omarchy's keys falls back to Alt+Space / no hold.Both invitations install
superwhisper-bin, so this depends on omacom/omarchy-pkgs#854 being published, as #14552 already does.Tests:
dictation-test.shchecks the key list.try-superwhisper-invitation-test.shcovers the migration installing the hook, one invitation on a Voxtype machine, and no invitation or marker on machines with Superwhisper or without Voxtype.voxtype-invitation-test.shis updated.dictation-test.shalso covers the first setup taking Omarchy's keys, re-selecting changing nothing, and the Alt+Space fallback.Not checked in a live session.
🤖 Generated with Claude Code