Bing Wallpaper for Mac (and now Ubuntu!)
A script which downloads the latest picture of the day from Bing.com and saves it to a directory.
The script was tested in Mac OS X 10.8.2.
How to use?
- If desired change the default PICTURE_DIR in bing-wallpaper.sh to the wallpaper directory. If left unchanged the default value is ~/Pictures/bing-wallpapers/.
- To have the script run everyday automatically you will need to setup launchd (Mac only, for Ubuntu see below). I have provided a sample plist file which can be copied to $HOME/Library/LaunchAgents and loaded with the command
launchctl load $HOME/Library/LaunchAgents/com.ideasftw.bing-wallpaper.plist. Modify the plist as needed to point to bing-wallpaper.sh. For more information on configuring launchd see here.
- Open Mac's
Desktop & Screensaver, add the wallpaper directory, and configure to taste.
Steps to configure are identical to the Mac version except for the following:
- Change the path of bing-wallpaper.sh in bing-cron to the script location. If left unchanged the default value is ~/Pictures/bing-wallpaper.sh.
- From the terminal run
crontab /path/to/bing-cronto setup the cronjob.
The Ubuntu script was tested in Ubuntu 12.10.
Original script by ktmud can be found at https://github.com/ktmud/bing-wallpaper.