Add natgeo photo changer to #systemd

This commit is contained in:
Colin Powell
2019-05-22 00:15:42 -04:00
parent f1274a6ac8
commit 9e6012f07a
4 changed files with 114 additions and 1 deletions

View File

@ -0,0 +1,8 @@
[Unit]
Description=Check for new wallpaper on NG
RefuseManualStart=no
RefuseManualStop=yes
[Service]
Type=oneshot
ExecStart=/home/powellc/var/documents/scripts/changepaper.sh

View File

@ -0,0 +1,13 @@
[Unit]
Description=Change background every day
RefuseManualStart=no
RefuseManualStop=no
[Timer]
Persistent=false
OnBootSec=5min
OnUnitActiveSec=24h
Unite=changepaper.service
[Install]
WantedBy=default.target