An experiment to set desktop wallpaper to NASA's Astronomy Picture of the Day
Clone the repository or download the macos
folder and run install.sh
Aim is to code it for all popular platforms :) Help wanted and appreciated!
- Windows
- Web scraping PowerShell module to download the APOD photo
- Setting desktop wallpaper thru PS (working 50/50)
- Set the script to run daily
- MacOS
- Web scraping with curl and download image with wget
- Setting desktop wallpaper using AppleScript (osascript)
- Set the script to run daily at 12:00 with crontab
- FIXME: Images should have different names cause the system does not always change the background
- Setup a script and endpoint to download and install automatically
- Linux /Debian based
- Unhandled case when APOD item is a video
- Please make sure you have wget installed as /usr/local/bin/wget
- This can be done by
$ brew install wget