about summary refs log tree commit diff
path: root/.config/systemd/user/cliphist.service
diff options
context:
space:
mode:
Diffstat (limited to '.config/systemd/user/cliphist.service')
-rw-r--r--.config/systemd/user/cliphist.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/.config/systemd/user/cliphist.service b/.config/systemd/user/cliphist.service
new file mode 100644
index 0000000..91ad51f
--- /dev/null
+++ b/.config/systemd/user/cliphist.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Cliphist clipboard watcher
+After=graphical-session.target
+PartOf=graphical-session.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/wl-paste --watch /usr/local/bin/cliphist store
+Restart=always
+RestartSec=1
+
+[Install]
+WantedBy=default.target