Coder Social home page Coder Social logo

mosajjal / bing-wallpaper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mammuth/bing-wallpaper

0.0 3.0 0.0 15 KB

Python Script that sets the daily Bing picture as a Desktop Wallpaper

License: GNU General Public License v2.0

Python 100.00%

bing-wallpaper's Introduction

Bing-Wallpaper

A Python3 Script to set the daily background image of www.bing.com as Desktop Wallpaper of Linux or Windows.

I've used feh utility to set background in i3. Don't know if it works in other distros. So you should install feh for this to work (obviously)

HowTo Use:

Just take a look at the 2-3 variables at the beginning of the script and change them to your needs. The Script will download the daily pictures in the same directory as the repo, you can change it inside the script.

Note:

This isn't really finished, (especially regarding compatibility) but maybe this already is useful for someone. If you have any questions or ideas how to improve this, tell me! ;-)

Additional tip:

Automate it! (Linux)

Make something like the following starting at boot time, to automate the process (change the paths to your needs):

#! /bin/bash
DATE=`date +%d-%m-%Y`
#only start the script if the todays picture doesn't exists
if [ ! -a /pathTo/saveDir/bing_wp_$DATE".jpg" ]; then
	python3 /pathTo/pythonScript/bing-wallpaper.py
fi

bing-wallpaper's People

Contributors

mammuth avatar mosajjal avatar

Watchers

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