diff options
author | A Farzat <a@farzat.xyz> | 2024-10-18 12:10:55 +0900 |
---|---|---|
committer | A Farzat <a@farzat.xyz> | 2024-11-02 16:11:11 +0900 |
commit | ed66f94e59853a8bc11983fb82bf320973e515e9 (patch) | |
tree | 970ca4b37d35ebe8d3008045fa2bf0d59e7cfe29 /.config/systemd/user/wallpaper-continuous.service | |
parent | 538d9d4eb2994945a648fbb8c78d955a744eb5a8 (diff) | |
download | dotfiles-ed66f94e59853a8bc11983fb82bf320973e515e9.tar.gz dotfiles-ed66f94e59853a8bc11983fb82bf320973e515e9.zip |
Add systemd config
Diffstat (limited to '.config/systemd/user/wallpaper-continuous.service')
-rw-r--r-- | .config/systemd/user/wallpaper-continuous.service | 15 |
1 files changed, 15 insertions, 0 deletions
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 |