systemd: service files for wallpaper changing

This commit is contained in:
Cedric Girard 2019-11-27 12:35:54 +01:00
parent f0bc4632f5
commit 3899d2fb9f
2 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,8 @@
[Unit]
Description=Change wallpaper from unsplash
[Service]
ExecStart=%h/wallpaper-unsplash.sh
[Install]
WantedBy=default.target

View file

@ -0,0 +1,9 @@
[Unit]
Description=Change wallpaper every 10 minutes
[Timer]
OnBootSec=1min
OnUnitActiveSec=10min
[Install]
WantedBy=timers.target