Introducing a new way to review your PRs.

Read the announcement

omacom / omarchy

Beautiful, Modern & Opinionated Linux

View on GitHub

29 documents · Updated Nov 23, 2026

docs / dictation-and-voice-input

Dictation and voice input

Omarchy provides speech-to-text as a desktop input service. A user starts or stops recording from global key bindings, while a selected dictation backend records speech, turns it into text, and places the result in the focused application. The available backends include Superwhisper, Voxtype, and Hex.

Speech-to-text experience

Dictation flow

The dictation flow connects a desktop action to the active speech service and then to the application that has focus. Omarchy keeps the action and backend separate, so the same user experience can work with different speech-to-text providers.

This diagram shows the main path from a key press to text in an application.

flowchart LR
    A[Global key binding] --> B[Omarchy dictation command]
    B --> C[Selected backend]
    C --> D[Speech-to-text result]
    D --> E[Focused input area]

References: default/…/dictation.lua• L1-7 bin/omarchy-dictation• L20-26 manual/11-text-extraction-dictation.md• L11-21

Desktop activation

Dictation supports push-to-talk and toggle use. Hold F9 or Right Alt to record while the key is held. Press Super + Ctrl + X to toggle recording. On keyboards where Right Alt is AltGr, F9 leaves that key available for normal typing.

Omarchy adds these bindings only when a backend is configured. This keeps the keys available for other work on a new or incomplete setup.

Users can also add personal bindings in config/hypr/bindings.lua. This supports keyboards or layouts that need a custom key while keeping the common dictation controls unchanged.

References: default/…/dictation.lua• L1-7 config/…/bindings.lua• L1-27 test/…/dictation-test.sh• L213-242

Backend selection

Active backend

The active backend is the provider that receives recording commands and returns text. Fresh users start with Superwhisper selected. Users can choose Superwhisper, Voxtype, or Hex from Setup > Defaults > Dictation; the choice is saved for later desktop sessions.

The selection is explicit. Omarchy does not silently choose another provider when the selected one is missing or removed. This makes a broken setup visible instead of sending speech to an unexpected service.

References: config/…/dictation• L1 bin/omarchy-default-dictation• L12-36 test/…/dictation-test.sh• L85-95 test/…/dictation-test.sh• L244-248

Backend boundary

Omarchy exposes one small control boundary to the desktop: start, stop, and toggle. The selected backend implements those actions. The desktop therefore does not need separate bindings for each provider.

The built-in choices have different service models. Superwhisper can use cloud or local processing through its own settings. Voxtype uses a local model and its own service setup. Hex uses a local speech model and can start its control service on demand when recording begins. The backend lifecycle and installation rules are described in Dictation backends and lifecycle.

References: bin/omarchy-dictation• L3-26 bin/omarchy-dictation-superwhisper• L3-17 bin/omarchy-dictation-voxtype• L3-16 bin/omarchy-dictation-hex• L3-50 manual/11-text-extraction-dictation.md• L13-23

Application integration

Focused input

Dictation is designed as a general text input path rather than an application feature. After transcription, the result appears in the input area that had focus when the user dictated. This lets the same controls work in terminals, editors, browsers, and other text fields.

For Hex, Omarchy turns the returned transcript into a paste action that works in terminals and other focused fields.

References: manual/11-text-extraction-dictation.md• L15-21 bin/omarchy-dictation-hex• L36-60

Desktop integration

Omarchy owns the recording bindings and loads optional integration supplied by the selected backend. A backend can provide extra desktop shortcuts from its user configuration without requiring edits to the user's Hyprland configuration.

The loader accepts only the configured backend name and loads its integration only when the matching command and file are present. A missing or broken optional integration does not stop the rest of the desktop configuration.

References: default/…/dictation-backend.lua• L1-24 test/…/dictation-test.sh• L250-295 manual/11-text-extraction-dictation.md• L19-23

Configuration and lifecycle

User configuration

Omarchy stores the selected backend under the user's Omarchy configuration. Each provider keeps its own settings beside that selection. Superwhisper exposes its processing choices through its settings. Voxtype keeps model and service settings in its configuration directory. Hex keeps its settings, history, and downloaded models in its own data area.

Provider setup is responsible for preparing its model or service before it becomes active. Superwhisper also keeps a native recording shortcut separate from Omarchy's keys. Hex installs its speech model and enables its user service before Omarchy selects it. If Hex is not already running when a user starts dictation, the Hex adapter starts it before recording. A failed setup leaves the previous selection in place, so an interrupted install does not create a backend that the desktop cannot use.

References: bin/omarchy-default-dictation• L12-36 bin/omarchy-install-dictation-superwhisper• L6-40 bin/omarchy-install-dictation-voxtype• L6-33 bin/omarchy-install-dictation-hex• L3-16 bin/omarchy-remove-dictation-hex• L3-18 test/…/dictation-test.sh• L139-175

Backend handoff

Changing providers is a controlled handoff. Omarchy first asks the current provider to stop, then saves the new selection as one complete value. If the current provider cannot stop, the old selection remains active.

Removing a provider clears its selection. Omarchy does not automatically replace it with another provider. Select and set up a new backend before using the dictation bindings again. Removing Hex stops its service and removes its package, but leaves Hex data and downloaded models in place. See Dictation backends and lifecycle for the install, switch, and removal paths.

References: bin/omarchy-dictation-use• L7-33 bin/omarchy-remove-dictation-voxtype• L8-27 bin/omarchy-remove-dictation-superwhisper• L11-40 bin/omarchy-remove-dictation-hex• L6-18 test/…/dictation-test.sh• L177-211 test/…/dictation-test.sh• L307-340

Change checklist

When these files or sections are changed, remember to consider these:

  • Keep the global bindings and the start/stop/toggle backend contract aligned.
  • Keep the saved backend name, its command adapter, and its install and removal commands aligned.
  • Preserve the stop-before-switch rule so a provider cannot keep recording after another provider becomes active.
  • Keep Hex's model setup, startup fallback, user-service state, and removal behavior aligned with its saved backend name.
  • Keep optional backend desktop integration isolated from the user's main Hyprland configuration.
  • Keep custom bindings in config/hypr/bindings.lua separate from the default dictation bindings.
  • Update the CLI command platform and packages, apps, and optional services pages when the public command or provider lifecycle changes.

Important failure modes

TriggerConsequenceGuard
No backend is configuredDictation bindings are not added and recording cannot startSelect a backend through the Defaults menu
The selected backend is not installedThe common dictation command fails before recordingComplete the provider setup before using the bindings
Hex is selected without its speech model readyHex cannot produce a transcriptComplete Hex setup before selecting it
The current backend cannot stopThe provider switch fails and the old selection stays activeRetry the stop or repair the current provider first
Provider setup fails part way throughThe previous backend remains selectedFinish setup before selecting the new provider
Optional backend integration is missing or invalidProvider-specific shortcuts are unavailableUse the common Omarchy bindings; the core desktop remains usable

Key files

FileWhy to read it
default/hypr/bindings/dictation.luaShows when Omarchy adds the global dictation controls and which keys activate them.
bin/omarchy-dictationDefines the common control boundary between desktop actions and a backend.
bin/omarchy-default-dictationShows how users read or request a backend selection.
bin/omarchy-dictation-useShows the safe handoff and saved selection rules.
default/hypr/dictation-backend.luaShows how optional provider desktop integration joins the session.
config/hypr/bindings.luaShows where users can add personal dictation keybindings.
bin/omarchy-install-dictation-superwhisperIllustrates setup for the cloud-or-local Superwhisper path.
bin/omarchy-install-dictation-voxtypeIllustrates setup for the local Voxtype path.
bin/omarchy-dictation-hexShows how Hex starts on demand, stops, and pastes a transcript into the focused application.
bin/omarchy-install-dictation-hexShows how Hex's model and user service become ready before selection.
bin/omarchy-remove-dictation-hexShows how Hex is removed without deleting its local data.
manual/11-text-extraction-dictation.mdDescribes the user-facing dictation controls and application behavior.