omac.toml reference
Every setting lives in one file, ~/.config/omac/omac.toml. Omac writes it on first launch with a comment on each setting, and applies a change when you save it. omac default-spec prints the whole default file.
89 keys in 13 tables. Set means the default omac.toml sets the key; example means it shows the key commented out. For a key the default file sets, the example is the shipped value.
Top level (above the first table)
| Key | Type | Example | Default file | Description |
|---|---|---|---|---|
unbind | array of strings | ["SUPER + CTRL + ALT + S"] | example | the keys of DEFAULT binds to remove (a bind this file still defines stays) |
[settings]
| Key | Type | Example | Default file | Description |
|---|---|---|---|---|
gaps_in | integer | 5 | set | px between tiled windows |
gaps_out | integer | 10 | set | px between windows and the screen edge |
border_size | integer | 2 | set | px width of the focused-window border |
border_color | string | "theme" | set | "theme" = the current theme's accent (omac theme set …; #33ccff with none); a hex like "#33ccff" always wins |
theme_chrome | boolean | true | set | with a theme set, the workspace bar takes its background/text from the theme too; false = accent only |
warp_cursor | boolean | true | set | move the pointer to the newly focused window |
focus_follows_mouse | boolean | true | set | the focused display follows the pointer (Super+keys act where you look) |
focus_follows_mouse_window | boolean | false | set | also let the focus BORDER follow the window under the pointer (opt-in; border-only — never activates the app or steals keyboard focus; yields while typing) |
focus_follows_mouse_activate | boolean | false | set | the third level, "type where you point": ALSO activate the app under the pointer (opt-in; needs both settings above, else inert — omac status says so). macOS activation raises the app's windows and swaps the menu bar, so it stands down for open menus (NOT popovers - they sit at the normal window level), sheets/modals on either app, text fields, the second after a keystroke, anything drawn over the tile, and a display in native full screen; dwindle workspaces only; exclude an app with [[rule]] follow_mouse = false. The menu-bar item's "Activate on hover" row edits THIS line, and turning it on there also turns on the two settings above, which it needs |
focus_follows_mouse_activate_delay_ms | integer | 250 | set | how long the pointer must rest on the SAME window before it is activated (100-5000). Longer than the border's 70 ms on purpose: reaching for the Dock or another display sweeps the pointer across windows |
managed_displays | string | "all" | set | "all", "main", or display ids like "1,67" (see omac status) |
managed_apps | string | "" | set | "" = every app, or bundle ids: "com.apple.TextEdit,com.apple.finder" |
workspace_bar | boolean | true | set | on-screen workspace strip per display; click a number to switch |
strict_tiling | boolean | false | set | never float; every window fills its tile (float rules ignored; toggle_float too unless allowed below). set here — no menu toggle |
strict_tiling_allow_fullscreen | boolean | true | set | (only when strict_tiling) keep Super+Ctrl+F and Super+Alt+F (full width); false = always show the dwindle layout |
strict_tiling_allow_float | boolean | false | set | (only when strict_tiling) let YOU float a window on purpose with Super+Shift+Space; rules/auto-float still never do, and a reload/Reorganize keeps only the floats you made |
focus_yields_to_text_input | boolean | false | set | true = Super+arrow does native ⌘-arrow text motion in text fields; false (Omarchy) = it always moves window focus (use RIGHT ⌘ for text motion) |
scroll_min_width | integer | 500 | set | scrolling layout (SUPER+SHIFT+L): min column width in px — a column never shrinks below this (Chrome's floor ~500) |
scroll_peek | integer | 32 | set | scrolling layout: px of the nearest off-view column that peeks at each edge (0 = no peek) |
scroll_min_height | integer | 300 | set | scrolling layout: a window is stacked into a column only if every row keeps at least this many px |
ocr_languages | array of strings | ["en-US"] | set | OCR (Super+Ctrl+T): recognition languages in priority order, the analog of OMARCHY_OCR_LANGS. BCP-47 tags ("en-US", "fr-FR", "de-DE", "zh-Hans", "ja-JP"); tesseract codes ("eng", "chi_sim") are accepted too. An unusable entry is logged and skipped |
ocr_keep_line_breaks | boolean | true | set | OCR: true keeps the recognised layout (an address stays four lines — tesseract's preserve_interword_spaces); false folds the selection into ONE line, for a phone number or an address you want in a single field |
pin_reserves_space | boolean | true | set | pin (Super+Shift+Ctrl+O) snaps the float to the edge whose band costs the LEAST TILING AREA and reserves that band: managed windows tile around it, so it stays visible whatever you focus. macOS has no honest always-on-top for another app's window. A float hugging no edge reserves nothing and stays put. Pop (Super+Ctrl+O) never reserves; false = no snap, no band |
[apps] <role> = { … }
| Key | Type | Example | Default file | Description |
|---|---|---|---|---|
prefer | array of strings | ["com.mitchellh.ghostty", "com.googlecode.iterm2", "com.apple.Terminal"] | set | bundle ids or app paths, in order; the first one installed wins. If none is, terminal/browser/editor/files open their built-in app and any other role tries its path, then its bundle. "system-default" (the macOS default app) counts only for browser and editor; elsewhere it is skipped |
new_window | boolean | true | set | open a fresh instance on every launch instead of asking the running app for a window (⌘N) |
bundle | string | "com.spotify.client" | example | exactly this app, by bundle id; no built-in fallback. Tried after path; terminal/browser/editor/files ignore it when they have prefer |
path | string | "/System/Applications/Notes.app" | example | exactly this app, by path; no built-in fallback. Tried before bundle; terminal/browser/editor/files ignore it when they have prefer |
[agent]
| Key | Type | Example | Default file | Description |
|---|---|---|---|---|
default | string | "claude" | set | the agent SUPER+SHIFT+CTRL+A launches; omac agent use lists the names ("" = ask on first use) |
unattended | boolean | false | set | true = pass the agent's auto-approve flag (a safe mode for most agents; a FULL bypass for cursor-agent, grok, hermes and crush) |
[clipboard]
| Key | Type | Example | Default file | Description |
|---|---|---|---|---|
enabled | boolean | true | example | capture + picker on |
max_entries | integer | 100 | example | ring size |
capture_images | boolean | true | example | also keep copied images (sha256-deduped) |
persist | boolean | true | example | keep history across restarts (owner-only on disk) |
[privacy]
| Key | Type | Example | Default file | Description |
|---|---|---|---|---|
check_updates | boolean | false | example | true = once a day, ask omac.ghostype.ca whether a newer signed Omac exists and offer it; nothing installs without you |
daily_ping | boolean | false | example | true = send one count a day: Omac and macOS versions, display count, first-of-month and first-ever flags; no id, nothing about your windows, apps, files or keys |
consent_version | integer | 2 | example | written by Omac with your answers: the wording they answer |
[speech.tts]
| Key | Type | Example | Default file | Description |
|---|---|---|---|---|
enabled | boolean | false | example | the switch: true = Omac answers Option+Esc; false = macOS's Speak selection does |
engine | string | "apple-av" | example | a module in omac speech tts list; empty = the built-in |
voice | string | "" | example | empty = your macOS default voice |
rate | integer | 0 | example | words per minute, 100-850 (the measured band); 0 = follow the macOS Spoken Content slider. Omac ▸ Speech ▸ Speed |
[screensaver]
| Key | Type | Example | Default file | Description |
|---|---|---|---|---|
show | string | "logo" | example | logo (the art file above) | text | image |
text | string | "CAST3LABS" | example | for show = "text": block letters, 24 characters, "|" starts a second line |
image | string | "~/Pictures/logo.png" | example | for show = "image": a PNG or JPG, drawn in characters |
effects | array of strings | ["matrix", "rain", "fireworks"] | example | empty or absent = every effect, at random |
color | string | "theme" | example | theme (the border colour) | white | "#RRGGBB" |
size | string | "medium" | example | small | medium | large |
frame_rate | integer | 120 | example | 30 | 60 | 120 (lower saves power) |
displays | string | "all" | example | all | focused | main (the others go black) |
[speech.asr]
| Key | Type | Example | Default file | Description |
|---|---|---|---|---|
enabled | boolean | false | example | the kill switch; on means Omac may open the microphone |
engine | string | "apple" | example | omac speech asr list |
push_to_talk | boolean | true | example | hold the chord below to talk (Omarchy holds F9); false = only the toggle key |
push_to_talk_chord | string | "LCTRL + FN" | example | the hold gesture, modifiers only: FN, LCTRL, RCTRL, CTRL, SHIFT, ALT, SUPER; "" = none |
max_seconds | integer | 60 | example | hard stop in seconds (5-300); Omarchy's max_duration_secs |
[speech.asr.<engine>]
| Key | Type | Example | Default file | Description |
|---|---|---|---|---|
model | string | "en-US" | example | a locale the engine has installed |
[ipc]
| Key | Type | Example | Default file | Description |
|---|---|---|---|---|
allow_exec | boolean | false | example | true = omac dispatch exec runs its cmd, as an exec key does (any program you run could then run commands with Omac's permissions) |
allow_send_keys | boolean | false | example | true = omac dispatch send_keys types its key into the front app (any program you run could then type into any app) |
allow_dictate | boolean | false | example | true = omac dispatch dictate starts and stops dictation (any program you run could then turn on the microphone and receive what you say) |
allow_agent_prompt | boolean | false | example | true = a prompt from omac agent or omac dispatch reaches your coding agent while [agent] unattended = true (any program you run could then give it instructions it follows without asking) |
[[bind]]
| Key | Type | Example | Default file | Description |
|---|---|---|---|---|
keys | string | "SUPER + CTRL + ALT + S" | set | the chord: modifiers (SUPER = Left ⌘, SHIFT, ALT, CTRL) + one key |
desc | string | "Screensaver" | set | the cheatsheet text (Super+K); default: the action |
section | string | "Utilities" | set | the cheatsheet group; default: "Other" |
action | string | "screensaver" | set | the verb to run |
app | string | "terminal" | set | launch, launch_or_focus: a role under [apps] |
mode | string | "set" | set | the verb's variant: dictate start|stop|toggle, fullscreen native|maximized|fullscreen, reminder set|show|clear, theme menu|next|bg_next|refresh|off, speak stop |
direction | string | "l" | set | l, r, u or d |
next | boolean | true | set | true = the next window, false = the previous one |
dx | integer | -100 | set | horizontal step in px (Hyprland's resizeactive x) |
dy | integer | 0 | set | vertical step in px (Hyprland's resizeactive y) |
workspace | string | "1" | set | 1-10; the workspace verb also takes "previous" (the last one) and "e+1" / "e-1" (the next / previous existing one on this display) |
follow | boolean | true | set | true = go there with the window; false = move it silently |
monitor | string | "+1" | set | "+1" = the next monitor, "-1" = the previous one |
cmd | string | "open -a Calculator" | example | exec: a shell command, run by /bin/sh -c |
agent | string | "codex" | example | launch_agent: this agent instead of [agent] default |
prompt | string | "review the diff" | example | launch_agent: the first prompt the agent gets |
send | string | "SUPER + SHIFT + P" | example | send_keys: the chord to type into the front app (⌘ goes out as Right ⌘, so Omac does not catch it) |
width | integer | 1000 | example | pop: the popped window's width in px (default 1300) |
height | integer | 700 | example | pop: the popped window's height in px (default 900) |
name | string | "tokyo-night" | example | theme: set this theme ("Tokyo Night" works too) instead of a mode |
release | boolean | true | example | fire when the key is RELEASED, not pressed (Hyprland's bindr) |
[[rule]]
| Key | Type | Example | Default file | Description |
|---|---|---|---|---|
app | string | "com.apple.systempreferences" | set | a bundle id or an app name, matched exactly |
float | boolean | true | set | float this app's windows instead of tiling them |
size | array of integers | [900, 700] | example | a float's [width, height] in px |
center | boolean | true | example | center the float (floats open centered anyway) |
manage | boolean | false | example | leave this app's windows to macOS: never tiled, parked or moved |
tile | boolean | true | example | tile this app's windows even where Omac would float them |
follow_mouse | boolean | false | example | focus-follows-mouse skips this app: no border, no activation |
title | string | "Copy" | set | part of the window title, any case |
workspace | integer | 9 | example | open this app's NEW windows on workspace 9 (1-10), without switching there |