Repository navigation
Add selectable Voxtype and Superwhisper dictation - #14552
Conversation
|
|
Nice consolidation. A few things I spotted while reading the diff: Blocking: migration filename collision. F9 / Right Alt are now bound for everyone. if o.cmd_present("voxtype") or o.cmd_present("superwhisper") then
o.bind("SUPER + CTRL + X", "Toggle dictation", "omarchy-dictation toggle")
-- ...
endBoth install paths already It might also be worth confirming that US-layout users who use Right Alt as a regular Alt modifier (Right Alt+Tab etc.) won't start and stop a recording on every chord. The migration can wedge the queue. |
Resolves the conflict with omacom#14552, which replaced the Voxtype binding tests with backend-neutral dictation tests and reused the same missing_bin symlinks. The command -p resolution now feeds the dictation and Lazydocker cases that share that directory. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…aller omacom#14552 replaced bin/omarchy-voxtype-install with bin/omarchy-install-dictation-voxtype, which still runs `voxtype setup gpu --enable || true` as the user. The fix moves to the new installer unchanged, and the test now drives that script with a fresh config directory each run, since the GPU step only runs when no Voxtype config exists yet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keep the status helper deleted by omacom#14552. Upstream removed its bar consumer and the GPU-probing path, so the original fix is superseded.
Omarchy added hold-to-talk dictation on Right Alt next to its Super+Ctrl+X toggle (omacom/omarchy#14552, #14645). Alt is Command here, and Raycast's Dictate command switches to push-to-talk when its hotkey is held, so Right Command alone covers both. Raycast keeps one hotkey per command, so it replaces Option+Ctrl+X; the docs now say so.
Dictation's indicator was removed in omacom#14552, and PasswordlessSudo and RemoteSession were added since, so the list now matches defaultIndicatorEntries in shell/plugins/bar/widgets/Indicators.qml. Each name is the file under shell/plugins/bar/indicators/ that the widget loads. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Make dictation available through Setup → Defaults → Dictation, with Voxtype and Superwhisper sharing Right Alt/F9 push-to-talk and Super + Ctrl + X toggle.
omarchy-default-dictationreads the saved selection or launches a backend-specific installer. Installers configure the provider and save the selection in${XDG_CONFIG_HOME:-$HOME/.config}/omarchy/defaults/dictationafter successful setup. Missing Voxtype is installed with confirmation; setup retries repair incomplete model/service installation while preserving custom configuration and reusing existing models. Superwhisper uses its OPR package and packaged user setup. A one-time migration preserves Voxtype for existing users who have no saved selection; runtime autodetection remains absent. No portable-install migration or legacy personal Hyprland cleanup is included.omarchy-dictationonly handles start, stop, and toggle. It requires an explicit selection and callsomarchy-dictation-<backend>with the action. Small adapters implement this protocol for Voxtype and Superwhisper. Third-party backends can provide their own adapter and installer without changing Omarchy; the manual documents the protocol. Optional backend desktop integration loads from Omarchy defaults, with broken integration files contained, and recording bindings are enabled only when a backend is explicitly selected, using the compositor-safe shell helper.omarchy-dictation-use <backend>stops the previous provider under the same lock used for recording commands, then saves the new choice with an atomic rename. Failed stops preserve the existing selection; missing adapters and stopped provider services allow recovery. The built-in bar dictation indicator and its status follower are removed; dictation providers supply their own recording overlays. Remove → Dictation lists the installed Voxtype and Superwhisper backends. Removing either backend clears its own saved selection without automatic fallback.Depends on omacom/omarchy-pkgs#854 being merged and
superwhisper-binbeing published before Superwhisper installation is available.Validation: full CLI suite and focused dictation, Hyprland defaults/binding conflicts, menu/guards, and invitation suites pass. Tests exercise an external adapter and installer, missing/invalid configuration, recording error propagation, failed/cancelled setup preserving selection, and broken/missing integrations. The Defaults menu was visually verified earlier. The running bar was visually verified after removing dictation, with all remaining indicators revealed, and the graphical indicator contract tests pass. The configured/unconfigured binding gate was checked in the running compositor. Claude reviewed the implementation and re-reviewed the fixes with no blocking findings; its remaining stopped-Superwhisper case was addressed with a focused regression test. Focused migration and package setup tests pass. Tested shortcut setup with the real vendor daemon, isolated configuration/runtime, and a mocked compositor exposing Omarchy Right Alt binds: upstream defaults reproduce the conflict, while the package-seeded defaults permit both CLI changes. No audio was recorded; this is not a full fresh-VM install test.