summaryrefslogtreecommitdiff
path: root/.config/systemd
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-08-24 00:11:36 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-08-24 00:11:36 -0400
commit7b57ae75a410c641acda8619eb3479596037396e (patch)
treed0ad5ba920e3a247a2ccd93c2414c8da5f5c1bf9 /.config/systemd
parent72e7a40edf9e8d4599019d191cf88b372cc17d4b (diff)
synergy
Diffstat (limited to '.config/systemd')
-rw-r--r--.config/systemd/user/synergy@.service9
l---------.config/systemd/user/wmii@.service.wants/synergy@.service1
2 files changed, 10 insertions, 0 deletions
diff --git a/.config/systemd/user/synergy@.service b/.config/systemd/user/synergy@.service
new file mode 100644
index 0000000..18961f2
--- /dev/null
+++ b/.config/systemd/user/synergy@.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Keyboard and mouse sharing on X display %I
+StopWhenUnneeded=true
+
+[Service]
+Type=simple
+Environment=DISPLAY=%I
+ExecStart=/usr/bin/synergy
+Restart=always
diff --git a/.config/systemd/user/wmii@.service.wants/synergy@.service b/.config/systemd/user/wmii@.service.wants/synergy@.service
new file mode 120000
index 0000000..ec93eec
--- /dev/null
+++ b/.config/systemd/user/wmii@.service.wants/synergy@.service
@@ -0,0 +1 @@
+../synergy@.service \ No newline at end of file