From ed66f94e59853a8bc11983fb82bf320973e515e9 Mon Sep 17 00:00:00 2001 From: A Farzat Date: Fri, 18 Oct 2024 12:10:55 +0900 Subject: Add systemd config --- .config/systemd/user/wallpaper-continuous.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .config/systemd/user/wallpaper-continuous.service (limited to '.config/systemd/user/wallpaper-continuous.service') diff --git a/.config/systemd/user/wallpaper-continuous.service b/.config/systemd/user/wallpaper-continuous.service new file mode 100644 index 0000000..bc8a33b --- /dev/null +++ b/.config/systemd/user/wallpaper-continuous.service @@ -0,0 +1,15 @@ +[Unit] +Description=Change the wallpaper periodically + +[Service] +Environment=DISPLAY=:0 + +ExecStart=/usr/bin/sh -lc wallpaper-continuous.sh + +Restart=always +# Restart service after 10 seconds if service crashes +RestartSec=10 +SyslogIdentifier=wallpaper-continuous + +[Install] +WantedBy=basic.target -- cgit v1.2.3-70-g09d2