mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
* Add omarchy CLI * Remove outdated or internal * Add bash completions for command * Add omarchy command documentation * Add missing docs * Correct to what's now right * Fix tests --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
25 lines
570 B
Bash
Executable File
25 lines
570 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 stop voxtype.service 2>/dev/null || true
|
|
rm -f ~/.config/systemd/user/voxtype*
|
|
systemctl --user daemon-reload
|
|
|
|
# Remove packages and configs
|
|
omarchy-pkg-drop wtype voxtype-bin
|
|
rm -rf ~/.config/voxtype
|
|
rm -rf ~/.local/share/voxtype
|
|
else
|
|
echo "Voxtype was not installed."
|
|
fi
|