aboutsummaryrefslogtreecommitdiff
path: root/.config/systemd
diff options
context:
space:
mode:
Diffstat (limited to '.config/systemd')
-rw-r--r--.config/systemd/user/autocutsel.service6
-rw-r--r--.config/systemd/user/x11vnc.service2
2 files changed, 5 insertions, 3 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
diff --git a/.config/systemd/user/x11vnc.service b/.config/systemd/user/x11vnc.service
index 9e585c7..b055585 100644
--- a/.config/systemd/user/x11vnc.service
+++ b/.config/systemd/user/x11vnc.service
@@ -7,7 +7,7 @@ Type=simple
RestartSec=3
Restart=always
SyslogIdentifier=x11vnc
-ExecStart=/usr/bin/env x11vnc -display $DISPLAY -rfbport 5901 -shared -usepw -forever -nowireframe -norepeat -noxdamage -noxrecord -ncache_cr -noxfixes -auth $XAUTHORITY
+ExecStart=/usr/bin/env x11vnc -display $DISPLAY -rfbport 5901 -shared -usepw -forever -nowireframe -norepeat -noxdamage -noxrecord -ncache_cr -noxfixes -cursor arrow -auth $XAUTHORITY
[Install]
WantedBy=default.target