* Add selectable dictation backends * Move dictation migration after repository priority update * Extract backend-specific dictation installers * Keep dictation installer dispatcher executable * Call dictation backend installers directly * Drop legacy Superwhisper migration and runtime cleanup * Separate dictation defaults from generic recording protocol * Add backend-specific dictation removers * Preserve existing Voxtype selection during upgrade * Make dictation backend selection safe and retryable * Show the dictation indicator only for selected Voxtype * Allow switching away from stopped Superwhisper * Remove the built-in bar dictation indicator * Store default dictation selection under defaults * Rename dictation backend selector to use * Move dictation removers into their own menu category
10 lines
687 B
Lua
10 lines
687 B
Lua
if o.shell_succeeds("omarchy-default-dictation") then
|
|
o.bind("SUPER + CTRL + X", "Toggle dictation", "omarchy-dictation toggle")
|
|
o.bind("F9", "Start dictation (push-to-talk)", "omarchy-dictation start")
|
|
o.bind("F9", "Stop dictation (push-to-talk)", "omarchy-dictation stop", { release = true })
|
|
-- A modifier's mask changes between its press and release. Match the keysym
|
|
-- independently of that mask; AltGr layouts use a different keysym.
|
|
o.bind("ALT + Alt_R", "Start dictation (push-to-talk)", "omarchy-dictation start", { ignore_mods = true })
|
|
o.bind("ALT + Alt_R", "Stop dictation (push-to-talk)", "omarchy-dictation stop", { release = true, ignore_mods = true })
|
|
end
|