aboutsummaryrefslogtreecommitdiff
path: root/uninstall.sh
diff options
context:
space:
mode:
authorkrolyxon <krolyxon@tutanota.com>2026-01-16 23:56:38 +0530
committerkrolyxon <krolyxon@tutanota.com>2026-01-16 23:56:38 +0530
commit85a49d2edd6ceda704a6cdc084e2459174fcda36 (patch)
treee353142aa4b5fb2dd55964a52a780e5de456e9ee /uninstall.sh
initial commit
Diffstat (limited to 'uninstall.sh')
-rw-r--r--uninstall.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/uninstall.sh b/uninstall.sh
new file mode 100644
index 0000000..8a37073
--- /dev/null
+++ b/uninstall.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+set -e
+
+echo "Removing power-watch..."
+
+systemctl --user disable --now power-watch.timer || true
+
+rm -f ~/.config/systemd/user/power-watch.service
+rm -f ~/.config/systemd/user/power-watch.timer
+rm -f ~/.local/bin/power-watch.sh
+
+systemctl --user daemon-reload
+
+echo "Removed."