summaryrefslogtreecommitdiff
path: root/dots/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'dots/systemd')
-rw-r--r--dots/systemd/.config/systemd/services/wallpaper.service.j29
1 files changed, 9 insertions, 0 deletions
diff --git a/dots/systemd/.config/systemd/services/wallpaper.service.j2 b/dots/systemd/.config/systemd/services/wallpaper.service.j2
new file mode 100644
index 0000000..df4f595
--- /dev/null
+++ b/dots/systemd/.config/systemd/services/wallpaper.service.j2
@@ -0,0 +1,9 @@
+[Unit]
+Description=Sets wallpaper randomly every 30 mins
+
+[Service]
+Restart=always
+RestartSec=1800s
+ExecStart=/bin/bash {{ user.home }}/scripts/wallpaper.sh
+Sysloglevel=5
+LogLevelMax=5