* 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
18 lines
449 B
Bash
Executable File
18 lines
449 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# omarchy:summary=Record dictation using Superwhisper
|
|
# omarchy:args=<start|stop|toggle>
|
|
|
|
case "${1:-}" in
|
|
start) superwhisper start ;;
|
|
stop)
|
|
if omarchy-cmd-missing superwhisper || ! systemctl --user is-active --quiet superwhisper.service; then
|
|
exit 0
|
|
else
|
|
superwhisper stop
|
|
fi
|
|
;;
|
|
toggle) superwhisper record ;;
|
|
*) echo "Usage: omarchy dictation superwhisper <start|stop|toggle>" >&2; exit 1 ;;
|
|
esac
|