summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-03-13 12:38:40 +0100
committerDaniel Weipert <git@mail.dweipert.de>2024-03-13 12:38:40 +0100
commit7fbf5782c0187936d4a6baf40a03351601e84175 (patch)
tree48ccd59657942d2e6161490e07b1522507b39fd2 /.config
parent9fef601a9b47a05b46f1ba829f36db50842d420a (diff)
[kdeconnect] add systemd service
Diffstat (limited to '.config')
-rw-r--r--.config/kdeconnect/systemd/kdeconnect.service10
-rwxr-xr-x.config/yadm/scripts/bootstrap/packages7
2 files changed, 16 insertions, 1 deletions
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