added make uninstall

This commit is contained in:
alterNERDtive 2023-11-02 17:23:47 +01:00
parent 43e0d156df
commit 602f01f6b8
Signed by: alterNERDtive
GPG key ID: 547787A4FE6533F1

View file

@ -6,3 +6,10 @@ install:
cp systemd/swaybg-swapper.{service,timer} ~/.config/systemd/user/
systemctl --user daemon-reload
systemctl --user enable --now swaybg-swapper.timer
uninstall:
rm -f ~/.local/bin/swaybg-swapper.py
rmdir --ignore-fail-on-non-empty ~/.local/bin
systemctl --user disable --now swaybg-swapper.timer
rm -f ~/.config/systemd/user/swaybg-swapper.{service,timer}
systemctl --user daemon-reload