Create a daily job to download the NASA Astronomy Picture of the Day

This commit is contained in:
Ohad Livne 2025-06-25 22:30:37 +03:00
parent 7cb6d3f92e
commit d90c70b050
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,10 @@
[Unit]
Description=Refresh the wallpaper using the NASA Astronomy Picture of the Day
Wants=get-nasa-apod.timer
[Service]
WorkingDirectory=%h
ExecStart=%h/.local/bin/get-nasa-apod
[Install]
WantedBy=default.target