diff options
Diffstat (limited to 'xcape')
-rw-r--r-- | xcape/.config/systemd/user/xcape.service | 7 | ||||
-rw-r--r-- | xcape/Makefile | 9 |
2 files changed, 16 insertions, 0 deletions
diff --git a/xcape/.config/systemd/user/xcape.service b/xcape/.config/systemd/user/xcape.service new file mode 100644 index 0000000..7b5a384 --- /dev/null +++ b/xcape/.config/systemd/user/xcape.service @@ -0,0 +1,7 @@ +[Service] +ExecStart=xcape -d -e 'Control_L=Escape;Control_R=Escape' +StandardOutput=null +Restart=always + +[Install] +WantedBy=default.target diff --git a/xcape/Makefile b/xcape/Makefile new file mode 100644 index 0000000..7d03634 --- /dev/null +++ b/xcape/Makefile @@ -0,0 +1,9 @@ +include ../Makefile.include + +install: + @systemctl --user enable xcape + @systemctl --user start xcape + +uninstall: + @systemctl --user stop xcape + @systemctl --user disable xcape |