Skip to main content

background changer using unsplash API.

Project description

Background Changer

A small program in Python 3 that grabs a random photo from Unsplash according to your screen resolution and sets it as your background.

Further testing

This hasn't yet been tested on Windows or Mac (being worked on), but it works for Ubuntu Linux. Any commands I might have gotten wrong to set it as your background, please feel free to fix those or add more!

Dependencies

This is pretty light on dependencies, but you will need to make sure you have a couple things:

  • tkinter - a python GUI toolkit, but is only used to get the screen resolution. This is usually installed via a system package.
  • requests - python module for HTTP requests.
  • pywal - generates color schemes and used for changing the wallpaper.

Optional Dependencies

  • feh, if you use a Linux system that's not Ubuntu or Elementary OS. This is not in PyPi, it'll be in your distros repos.

Installation and Usage

NOTE: For Mac, first test if you have tkinter directly installed with your Python version first:

python3
>>> import tkinter

If that doesn't cause an error, you're good. If it does, follow this Stack Overflow Post to get that correctly set up. Then you can continue with the installation:

pip install backgroundchanger

Usage

backgroundchanger

# To view the help menu
backgroundchanger -h
# or
backgroundchanger --help

How to contribute?

For issue and PR guidelines, see CONTRIBUTING.md.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

backgroundchanger-1.5.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

backgroundchanger-1.5.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file backgroundchanger-1.5.0.tar.gz.

File metadata

  • Download URL: backgroundchanger-1.5.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for backgroundchanger-1.5.0.tar.gz
Algorithm Hash digest
SHA256 eda05d5be078126c5d0bb203c1a35e625b7dc76c4b5d9655f804df97dcf55607
MD5 427744ba821b7df811db3007ba1dceed
BLAKE2b-256 a8c556bb7f8521dc5e6e0293d28a1a6ceb2496a2e29258d127d529f0aad07403

See more details on using hashes here.

File details

Details for the file backgroundchanger-1.5.0-py3-none-any.whl.

File metadata

  • Download URL: backgroundchanger-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for backgroundchanger-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d6a357da2f5eb85e698b805b2b78cfd57bb5829a0e061098142cf7a7037da808
MD5 4e6d367228f646a34421e03c43cd992c
BLAKE2b-256 4ee011ebe451e1f0956e6083fc76b73a19057d94d1d4648384c29f0b528090b6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page