Krolyxon
Branch master

Branches

Refs →

power-watchuninstall.sh

14 lines · 289 B · Bourne Again Shell (bash)

1#!/bin/bash
2set -e
3
4echo "Removing power-watch..."
5
6systemctl --user disable --now power-watch.timer || true
7
8rm -f ~/.config/systemd/user/power-watch.service
9rm -f ~/.config/systemd/user/power-watch.timer
10rm -f ~/.local/bin/power-watch.sh
11
12systemctl --user daemon-reload
13
14echo "Removed."