* 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
29 lines
746 B
Bash
Executable File
29 lines
746 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# omarchy:summary=Remove Voxtype dictation and its configuration
|
|
# omarchy:requires-sudo=true
|
|
|
|
set -e
|
|
|
|
# Remove voxtype and its configurations.
|
|
|
|
if omarchy-cmd-present voxtype; then
|
|
echo "Uninstall Voxtype to remove dictation."
|
|
|
|
# Remove services
|
|
systemctl --user disable --now voxtype.service 2>/dev/null || true
|
|
systemctl --user daemon-reload
|
|
|
|
# Remove packages and configs
|
|
omarchy-pkg-drop voxtype-bin
|
|
rm -rf ~/.config/voxtype
|
|
rm -rf ~/.local/share/voxtype
|
|
backend_config="${XDG_CONFIG_HOME:-$HOME/.config}/omarchy/defaults/dictation"
|
|
if [[ -f $backend_config && $(< "$backend_config") == "voxtype" ]]; then
|
|
rm "$backend_config"
|
|
fi
|
|
hyprctl reload >/dev/null
|
|
else
|
|
echo "Voxtype was not installed."
|
|
fi
|