Files
arthur-os/bin/omarchy-voxtype-remove

25 lines
571 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
omarchy-hyprland-toggle voxtype off
else
echo "Voxtype was not installed."
fi