A cross platform tool for setting a random wallpaper image from unsplash.com
Project description
Venus: For those that get bored of looking at their wallpaper
Venus aims to be a cross-platform tool to automatically change your desktop wallpaper using images from Unsplash. By default, all images are stored in the system's temporary directory, this way their disposal is handled by the operating system.
Venus also handles using images that work with your resolution.
Note for the adventurous -> set venus as a startup program. This way you can see what awaits you with each reboot :)
Installation
- Install using pip3
Linux/OSX
pip3 install venuspy
Windows
py -m pip install venuspy
Usage
- Just type venus!
Linux/OSX
venus
Windows
py -m venus
You can also supply search terms to the command:
venus landscape nature car
Config
Venus can be configured for specific search terms to get a category of images.
Edit the config file located in:
~/.config/venus/config
By default, the search terms are empty, which means the image selection will be random. To choose what kind of images you want, enter search terms separated by commas.
Here is an example:
SEARCH_TERMS = landscape,nature,car
Search terms in the command will overwrite those from the config.
To get images of a specific Unsplash collection, use its id:
COLLECTION_ID = 1053828
Note: If
COLLECTION_ID
is set, theSEARCH_TERMS
is ignored.
By default all images are stored as temporary files in the temp directory of the operating system. To change the location where the images are stored, edit the OUTPUT_PATH option.
Here is an example:
OUTPUT_PATH = /home/user/Pictures
Venus has the option of using a timer to change your wallpaper given an interval in seconds.
Here is an example that changes the wallpaper every 60 seconds (1 minute):
WAIT_TIME = 60
By default a image is requested with the resoluton of your screen. If you need to change that for any reason (if your screen resolution is not available by Unsplash and you are getting a 404 image as your wallpaper), edit the SCREEN_RESOLUTION option. Here is an example:
SCREEN_RESOLUTION = 1920x1080
Venus supports using pywal as an addon. To use pywal first install it, then enable it in the config file:
USE_PYWAL = True
To limit the number of files stored locally and prevent filling your disk, set the CACHE_ITEMS
option (0
is infinite)
CACHE_ITEMS = 10
Current Version 1.0.3 - verified working on
- Feh 3.5
- Gnome 3.28
- KDE Plasma 5.15.4
- Sway 1.2
- macOS High Sierra
- macOS Mojave
- Windows 10
How to Contribute
- Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug here tag for issues that should be ideal for people who are not very familiar with the codebase yet.
- Fork the repository on GitHub to start making your changes to the master branch (or branch off of it).
- Write a test which shows that the bug was fixed or that the feature works as expected.
- Send a pull request and bug the maintainer until it gets merged and published. :) Make sure to add yourself to AUTHORS.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file venuspy-1.0.4.tar.gz
.
File metadata
- Download URL: venuspy-1.0.4.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.4.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f60ea8ee194395eda4ee0682fb0ef8092dc34410f9c4cc015fc7ff9fefcdafa |
|
MD5 | ac386b024df3cd9459f046011ea761cf |
|
BLAKE2b-256 | f249ee51ec1b8158e6add0a17ba6a6efeae0813795a5ec3e9ecbb5d89eaa857a |