archweather / uninstall.shmain
▤ uninstall.sh663 bytes
#!/usr/bin/env bash
set -euo pipefail
BASE="${XDG_DATA_HOME:-$HOME/.local/share}"
CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}"
rm -f "$HOME/.local/bin/archweather" "$HOME/.local/bin/archweather-open" "$HOME/.local/bin/archweather-tray"
rm -f "$BASE/applications/archweather.desktop" "$BASE/applications/archweather-tray.desktop"
rm -f "$BASE/icons/hicolor/scalable/apps/archweather.svg"
rm -f "$CONFIG/autostart/archweather.desktop" "$CONFIG/autostart/archweather-tray.desktop"
rm -rf "$BASE/archweather/venv"
echo 'ArchWeather verwijderd. Configuratie, cache en historie zijn behouden.'
echo 'Een al actief systeemvakproces kun je via de optie Afsluiten stoppen.'