From ed66f94e59853a8bc11983fb82bf320973e515e9 Mon Sep 17 00:00:00 2001 From: A Farzat Date: Fri, 18 Oct 2024 12:10:55 +0900 Subject: Add systemd config --- .config/systemd/user/clipper.service | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .config/systemd/user/clipper.service (limited to '.config/systemd/user/clipper.service') diff --git a/.config/systemd/user/clipper.service b/.config/systemd/user/clipper.service new file mode 100644 index 0000000..10614bf --- /dev/null +++ b/.config/systemd/user/clipper.service @@ -0,0 +1,16 @@ +[Unit] +Description=Clipper clipboard access for local and remote tmux sessions +Documentation=https://github.com/wincent/clipper + +[Service] +Environment=DISPLAY=:0 + +ExecStart=/usr/bin/clipper + +Restart=always +# Restart service after 10 seconds if service crashes +RestartSec=10 +SyslogIdentifier=clipper + +[Install] +WantedBy=basic.target -- cgit v1.2.3-70-g09d2