summaryrefslogtreecommitdiffstats
path: root/xcape/Makefile
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2024-02-23 00:33:20 -0500
committerJesse Luehrs <doy@tozt.net>2024-02-23 00:33:20 -0500
commit0efe764fbff54f2735ece414f454c2e867d69038 (patch)
tree9f0140d1bdf8f79dfc8273c07127928a60caf5c7 /xcape/Makefile
parentd75c8ca206b72668fc54cf200767fce494d0b6aa (diff)
downloadconf-0efe764fbff54f2735ece414f454c2e867d69038.tar.gz
conf-0efe764fbff54f2735ece414f454c2e867d69038.zip
convert xcape to systemd
Diffstat (limited to 'xcape/Makefile')
-rw-r--r--xcape/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/xcape/Makefile b/xcape/Makefile
index 2a3718f..7d03634 100644
--- a/xcape/Makefile
+++ b/xcape/Makefile
@@ -1,4 +1,9 @@
include ../Makefile.include
-install: $(HOME)/.services/enabled/xcape
- @mkdir -p $(HOME)/.log/xcape
+install:
+ @systemctl --user enable xcape
+ @systemctl --user start xcape
+
+uninstall:
+ @systemctl --user stop xcape
+ @systemctl --user disable xcape