From 171b5f9c1de190b2f4ec4af44d71a5663ecbb720 Mon Sep 17 00:00:00 2001 From: Matthieu Bessat Date: Mon, 3 Jun 2024 22:59:29 +0200 Subject: [PATCH] feat: cliphist service --- ansible/templates/systemd/user/cliphist.service | 12 ++++++++++++ ansible/workstation.yaml | 2 ++ 2 files changed, 14 insertions(+) create mode 100644 ansible/templates/systemd/user/cliphist.service diff --git a/ansible/templates/systemd/user/cliphist.service b/ansible/templates/systemd/user/cliphist.service new file mode 100644 index 0000000..ebf7d8d --- /dev/null +++ b/ansible/templates/systemd/user/cliphist.service @@ -0,0 +1,12 @@ +[Unit] +Description=Cliphist to keep history of clipboard (wayland only) +BindsTo=sway-session.target + +[Service] +Type=simple +ExecStart={{ dots }}/.dots/scripts/wayland/cliphist_daemon.sh + +[Install] +WantedBy=sway-session.target + + diff --git a/ansible/workstation.yaml b/ansible/workstation.yaml index ae8aef2..ba172f7 100644 --- a/ansible/workstation.yaml +++ b/ansible/workstation.yaml @@ -11,6 +11,8 @@ - name: "hourly_remainder" enabled: true timer: true + - name: "cliphist" + enabled: true config_files: - dir: fish name: config.fish