aboutsummaryrefslogtreecommitdiff
path: root/.config/systemd/user/autocutsel.service
blob: 495e703d42c0add1830c2d42331f868e4f3a0299 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=Keep the X clipboard and the cutbuffer in sync
StartLimitIntervalSec=0

[Service]
Type=forking
RestartSec=3
Restart=always
SyslogIdentifier=autocutsel
ExecStartPre=/usr/bin/env autocutsel -fork -selection PRIMARY
ExecStart=/usr/bin/env autocutsel -fork -selection CLIPBOARD
MemoryHigh=3M
MemoryMax=5M

[Install]
WantedBy=default.target