mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-02 04:37:49 +02:00
25 lines
571 B
Bash
Executable File
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
|