Created
October 31, 2019 11:11
-
-
Save miterion/6afb4a8c19184c04aea16334907685e1 to your computer and use it in GitHub Desktop.
user systemd wallpaper service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Wallpaper Changer | |
[Service] | |
Type=oneshot | |
WorkingDirectory=<path to git checkout> | |
ExecStart=<path to git checkout>/updateWallpaper.sh | |
ExecStartPost=<path to git checkout>/setWallpaper.sh | |
ExecStartPost=/usr/bin/betterlockscreen -u <path to git checkout>/wallpaper.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Wallpaper Changer | |
[Timer] | |
OnCalendar=*:00/10:00 | |
Persistent=true | |
[Install] | |
WantedBy=timers.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment