aboutsummaryrefslogtreecommitdiff
path: root/.config/systemd/user/chwp.service
diff options
context:
space:
mode:
Diffstat (limited to '.config/systemd/user/chwp.service')
-rw-r--r--.config/systemd/user/chwp.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/.config/systemd/user/chwp.service b/.config/systemd/user/chwp.service
new file mode 100644
index 0000000..c9356f0
--- /dev/null
+++ b/.config/systemd/user/chwp.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Change wallpaper on x11
+PartOf=graphical-session.target
+
+[Service]
+Type=oneshot
+ExecStart=/bin/sh -c "exec $HOME/.local/bin/chwp"
+Restart=on-failure
+
+[Install]
+WantedBy=desktop-x11.target