Skip to content

mjgar/bing_wallpaper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

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/.

About

Script to download latest Bing wallpaper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages