Keybind to real-time voice dictation in Omarchy #1991
+90
−0
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.
This PR proposes built-in dictation to Omarchy.
Inspired by @ThePrimeagen 's stream and their talk to Cursor pedal, I wanted to see if there was an easy way to get voice dictation into an Omarchy keybind. I found nerd-dictation by @ideasman42, installed ydotool, and after a bit of debugging it just worked.
Typing a long set of instructions into OpenCode or Cursor can get annoying, and I find myself often giving sub-par instructions just because I don't want to type a novel into each prompt... but now I can just speak it into my mic triggered by a hypr keybind.
Proposing this PR in case @dhh and others in the Omarchy community want to integrate this functionality into the out of the box Omarchy experience. I have not yet tested this on a fresh install, but I believe that all of the necessary configuration has been added. If anybody has a machine they don't mind hard-refreshing with a fresh Arch install, a test would be greatly appreciated.
It leverages nerd-dictation to perform voice to text transcription with a small local model downloaded on OS install at
~/.config/nerd-dictation
, uses built-inparec
for audio recording, and an added dependencyydotool
to simulate input on the cursor with Wayland. This is added to the hypr autostart to launch the input emulation daemon in the background, but this could be optimized in the future to only launch the daemon on dictation. Notifications are sent via mako when recording begins and stops.screenrecording-2025-09-26_16-21-15.mp4