diff options
Diffstat (limited to '.config/systemd/user/autocutsel.service')
-rw-r--r-- | .config/systemd/user/autocutsel.service | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.config/systemd/user/autocutsel.service b/.config/systemd/user/autocutsel.service new file mode 100644 index 0000000..495e703 --- /dev/null +++ b/.config/systemd/user/autocutsel.service @@ -0,0 +1,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 |