aboutsummaryrefslogtreecommitdiff
path: root/.config/systemd
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2021-09-19 22:13:45 -0400
committertdro <tdro@users.noreply.github.com>2021-09-19 22:17:21 -0400
commitb5d49384a6f3fc5a836f54e91305e45b6c4832e1 (patch)
tree076cedc3b7a462f2047de4d2b29fc862cfebd02b /.config/systemd
parent36c2e0e160e9f790072c9be3cbbb6ecf2e3a0dc2 (diff)
downloaddotfiles-b5d49384a6f3fc5a836f54e91305e45b6c4832e1.tar.gz
dotfiles-b5d49384a6f3fc5a836f54e91305e45b6c4832e1.tar.bz2
dotfiles-b5d49384a6f3fc5a836f54e91305e45b6c4832e1.zip
.config/nixpkgs: Remove copyq, add autocutsel
Diffstat (limited to '.config/systemd')
-rw-r--r--.config/systemd/user/autocutsel.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/.config/systemd/user/autocutsel.service b/.config/systemd/user/autocutsel.service
new file mode 100644
index 0000000..82e822b
--- /dev/null
+++ b/.config/systemd/user/autocutsel.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Keep the X clipboard and the cutbuffer in sync
+
+[Service]
+Type=forking
+RestartSec=3s
+Restart=always
+SyslogIdentifier=autocutsel
+ExecStartPre=/usr/bin/env autocutsel -f -s PRIMARY
+ExecStart=/usr/bin/env autocutsel -f -s CLIPBOARD
+
+[Install]
+WantedBy=default.target