aboutsummaryrefslogtreecommitdiff
path: root/.config/systemd/user/autocutsel.service
diff options
context:
space:
mode:
Diffstat (limited to '.config/systemd/user/autocutsel.service')
-rw-r--r--.config/systemd/user/autocutsel.service6
1 files changed, 4 insertions, 2 deletions
diff --git a/.config/systemd/user/autocutsel.service b/.config/systemd/user/autocutsel.service
index 3ebe363..495e703 100644
--- a/.config/systemd/user/autocutsel.service
+++ b/.config/systemd/user/autocutsel.service
@@ -7,8 +7,10 @@ Type=forking
RestartSec=3
Restart=always
SyslogIdentifier=autocutsel
-ExecStart=/usr/bin/env autocutsel -f -s CLIPBOARD
-ExecStartPre=/usr/bin/env autocutsel -f -s PRIMARY
+ExecStartPre=/usr/bin/env autocutsel -fork -selection PRIMARY
+ExecStart=/usr/bin/env autocutsel -fork -selection CLIPBOARD
+MemoryHigh=3M
+MemoryMax=5M
[Install]
WantedBy=default.target