summaryrefslogtreecommitdiff
path: root/.config/systemd/user/clipper.service
diff options
context:
space:
mode:
Diffstat (limited to '.config/systemd/user/clipper.service')
-rw-r--r--.config/systemd/user/clipper.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/.config/systemd/user/clipper.service b/.config/systemd/user/clipper.service
new file mode 100644
index 0000000..10614bf
--- /dev/null
+++ b/.config/systemd/user/clipper.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Clipper clipboard access for local and remote tmux sessions
+Documentation=https://github.com/wincent/clipper
+
+[Service]
+Environment=DISPLAY=:0
+
+ExecStart=/usr/bin/clipper
+
+Restart=always
+# Restart service after 10 seconds if service crashes
+RestartSec=10
+SyslogIdentifier=clipper
+
+[Install]
+WantedBy=basic.target