summaryrefslogtreecommitdiff
path: root/dots/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'dots/systemd')
-rw-r--r--dots/systemd/.config/systemd/user/playerctld.service9
-rw-r--r--dots/systemd/.config/systemd/user/wallpaper.service.j2 (renamed from dots/systemd/.config/systemd/services/wallpaper.service.j2)3
2 files changed, 12 insertions, 0 deletions
diff --git a/dots/systemd/.config/systemd/user/playerctld.service b/dots/systemd/.config/systemd/user/playerctld.service
new file mode 100644
index 0000000..f54238c
--- /dev/null
+++ b/dots/systemd/.config/systemd/user/playerctld.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=MPRIS
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/playerctld daemon
+
+[Install]
+WantedBy=default.target
diff --git a/dots/systemd/.config/systemd/services/wallpaper.service.j2 b/dots/systemd/.config/systemd/user/wallpaper.service.j2
index df4f595..511a82e 100644
--- a/dots/systemd/.config/systemd/services/wallpaper.service.j2
+++ b/dots/systemd/.config/systemd/user/wallpaper.service.j2
@@ -7,3 +7,6 @@ RestartSec=1800s
ExecStart=/bin/bash {{ user.home }}/scripts/wallpaper.sh
Sysloglevel=5
LogLevelMax=5
+
+[Install]
+WantedBy=default.target