Skip to content

Conversation

mrbende
Copy link

@mrbende mrbende commented Sep 26, 2025

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-in parec for audio recording, and an added dependency ydotool 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

@mrbende mrbende changed the title Added all necessary components to add voice dictation to native Omarchy Keybind to real-time voice dictation in Omarchy Sep 26, 2025
@mrbende
Copy link
Author

mrbende commented Sep 26, 2025

Keybind was changed from SUPER SHIFT F to CTRL ALT J... intended to keep same homerow easy access, but avoids SUPER conflict. Before, sometimes a bunch of windows would pop up if I was still holding SUPER when dictation was active.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant