Git Product home page Git Product logo

bing-wallpaper-for-mac's Introduction

Bing Wallpapaer for Mac

A simple Python script capable of batch-downloading and setting Bing picture of the day as wallpaper on your Mac OS X.

About

Ever since the switch to Mac, I've kinda been missing PyBingWallpaper. So I wrote this script to do pretty much the same thing.

Microsoft provides an API to get the images. This makes things so much easier compared to my initial idea, which was to scrape the webpage.

PS: This is only a Python script. What you do with it is entirely up to you. I'll probably make a native OS X app for this since I've been learning Swift lately. Meanwhile, you can use Automator with python PATH/bing.py shell command to create an app that calls this script and configure it to run everytime you login. Click here for more details.

Usage

You can modify the Configurations section to set your own image directory and country code. Wallpapers will be saved to /Users/USERNAME/Pictures/BingWallpaper by default.

Download today's Bing picture of the day and set it as wallpaper:

python bing.py

Use -d or --download argument to download and save the last 8 pictures without changing the current wallpaper. You might use this option if you want to change wallpapers automatically by adding the wallpaper directory in System Preferences.

python bing.py -d

Use -h or --help to display help message.

License

Copyright DeclanGao © 2015. Licensed under the MIT License.

bing-wallpaper-for-mac's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.