Antigravity Dictation
A lightweight global voice-to-text dictation workflow for Omarchy Linux and Hyprland, powered by Antigravity AI.
Instead of running heavy local models that consume high CPU resources, this plugin routes speech recognition through Antigravity's fast, cloud-assisted backend.
Features
- Zero Local CPU Overhead: Speech recognition runs via Antigravity without straining local hardware.
- Multilingual Support: High accuracy for Indonesian, English, mixed phrasing, and automatic punctuation.
- Workspace-Agnostic: Operates seamlessly whether Antigravity is in a scratchpad or across regular workspaces.
- Native OSD Feedback: Uses Omarchy's transient On-Screen Display without polluting notification history.
- Automatic Focus Restoration: Returns focus to your previous active window upon completing dictation.
- Keyboard-Driven: Operates via a single global toggle shortcut (
Super + D).
Requirements
Ensure the following prerequisites are met before use:
- Omarchy Linux with Hyprland and Quickshell (
omarchy-shell). - Antigravity IDE installed, running, and signed in to an active account.
- Voice input working via
Ctrl + Minside the Antigravity chat input. - System dependencies:
wtype,jq, andhyprctl(pre-installed on Omarchy).
Installation
Method 1: Using Omarchy CLI (Recommended)
omarchy plugin add https://github.com/yusufalvian16/antigravity-dictation
Method 2: Manual Installation
git clone https://github.com/yusufalvian16/antigravity-dictation.git
cd antigravity-dictation
./install.sh
The installer copies the script to ~/.local/bin/antigravity-dictation, registers the plugin, and configures the Super + D keybinding in ~/.config/hypr/bindings.lua.
Usage
The dictation workflow is controlled using the Super + D shortcut:
sequenceDiagram
autonumber
actor User
participant App as Active Window
participant Core as Antigravity Dictation
participant AGY as Antigravity
User->>Core: Press Super + D
Core->>App: Save current window address
Core->>AGY: Focus Antigravity & activate mic (Ctrl + M)
Note over User,AGY: User speaks. Transcription renders in Antigravity.
User->>Core: Press Super + D again
Core->>AGY: Stop mic (Ctrl + M) & copy text (Ctrl + A, Ctrl + C)
Core->>App: Restore focus to original active window
Core->>User: Display Copied OSD (Ready to paste with Ctrl + V)
- Press
Super + Dwhile focused on any application. The OSD displaysRecording.... - Speak your text.
- Press
Super + Dagain when finished. The OSD displaysProcessing...followed byCopied!. - Paste the text into your target application using
Ctrl + V.
Configuration
To change the default shortcut, edit ~/.config/hypr/bindings.lua:
o.bind("SUPER + D", "Antigravity Voice Dictation", "antigravity-dictation")
Uninstallation
To remove the plugin, binary, and keybindings cleanly:
cd antigravity-dictation
./uninstall.sh
License
Distributed under the MIT License.