summaryrefslogtreecommitdiffstats
path: root/xbindkeys/.config/systemd/user/xbindkeys.service
diff options
context:
space:
mode:
Diffstat (limited to 'xbindkeys/.config/systemd/user/xbindkeys.service')
-rw-r--r--xbindkeys/.config/systemd/user/xbindkeys.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/xbindkeys/.config/systemd/user/xbindkeys.service b/xbindkeys/.config/systemd/user/xbindkeys.service
new file mode 100644
index 0000000..d1f83e5
--- /dev/null
+++ b/xbindkeys/.config/systemd/user/xbindkeys.service
@@ -0,0 +1,9 @@
+[Service]
+ExecStart=/bin/sh -c '. ${HOME}/.config/sh/rc.d/00path && xbindkeys -p -n'
+Restart=always
+# otherwise any applications launched via a keybinding will be killed when
+# the service is restarted
+KillMode=process
+
+[Install]
+WantedBy=default.target