systemd: service files for wallpaper changing
This commit is contained in:
parent
f0bc4632f5
commit
3899d2fb9f
2 changed files with 17 additions and 0 deletions
8
systemd/user/wallpaper.service
Normal file
8
systemd/user/wallpaper.service
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Change wallpaper from unsplash
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=%h/wallpaper-unsplash.sh
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
9
systemd/user/wallpaper.timer
Normal file
9
systemd/user/wallpaper.timer
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Change wallpaper every 10 minutes
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnBootSec=1min
|
||||||
|
OnUnitActiveSec=10min
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
Loading…
Reference in a new issue