Skip to content
Script to download latest Bing wallpaper
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
bing_wallpaper.py

README.md

bing_wallpaper.py

Script to download current background from https://bing.com to be used as a wallpaper.

Running the script

Creating the environment

Either with conda

conda create -n bing -c defaults -c conda-forge python=3.7 requests beautifulsoup4 funcy

Or with pip

pip install funcy requests beautifulsoup4

Running

We can now run the script from the conda environment or venv/python environment eg. python bing_wallpaper.py --dest ~/Desktop

More details

The next time macOS changes the wallpaper it should find the the new file and update the wallpaper, assuming it is configured to rotate the wallpaper using the script's destination directory as the source. I run this script every 5 minutes and have macOS configured to rotate the wallpaper every 15.

Also on my blog, https://blippy.net/2019/11/16/bing-wallpaper-on-a-mac-3-0/.

You can’t perform that action at this time.