From 7fbf5782c0187936d4a6baf40a03351601e84175 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Wed, 13 Mar 2024 12:38:40 +0100 Subject: [kdeconnect] add systemd service --- .config/kdeconnect/systemd/kdeconnect.service | 10 ++++++++++ .config/yadm/scripts/bootstrap/packages | 7 ++++++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .config/kdeconnect/systemd/kdeconnect.service diff --git a/.config/kdeconnect/systemd/kdeconnect.service b/.config/kdeconnect/systemd/kdeconnect.service new file mode 100644 index 0000000..1934441 --- /dev/null +++ b/.config/kdeconnect/systemd/kdeconnect.service @@ -0,0 +1,10 @@ +[Unit] +Description=KDE Connect + +[Service] +ExecStart=/usr/bin/kdeconnect-indicator +Restart=on-failure +RestartSec=5 + +[Install] +WantedBy=sway-session.target diff --git a/.config/yadm/scripts/bootstrap/packages b/.config/yadm/scripts/bootstrap/packages index 78a460e..4a273d0 100755 --- a/.config/yadm/scripts/bootstrap/packages +++ b/.config/yadm/scripts/bootstrap/packages @@ -35,7 +35,12 @@ sudo pacman -Sy \ qutebrowser firefox \ thunderbird libreoffice-fresh \ element-desktop telegram-desktop signal-desktop discord \ - godot krita intellij-idea-community-edition + godot krita intellij-idea-community-edition \ + kdeconnect + + # KDE Connect + sudo ln -s "$HOME/.config/kdeconnect/systemd/kdeconnect.service" /etc/systemd/user/ + systemctl --user enable kdeconnect --now fi $(dirname $BASH_SOURCE)/gammastep/bootstrap -- cgit v1.2.3