added make uninstall
This commit is contained in:
parent
43e0d156df
commit
602f01f6b8
1 changed files with 7 additions and 0 deletions
7
Makefile
7
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue