Skip to content

Releases: lilgallon/Daily-Wallhaven-Wallpaper

Version 1.0.0

21 Aug 09:54
Compare
Choose a tag to compare

updated release file with commit 6b46661

Customization:

  • Api key
  • Categories
  • Purity
  • Sorting
  • Order
  • Toprange
  • Atleast
  • Ratio

Misc:

  • Logging

Changes from main repository:

  • Replaced script to grab a reddit image by a script that uses the Wallhaven API to retrieve an image
  • Improved config file loading / saving (it was not working on the main branch)
  • Improved output dir (it was relative to the home directory ~)
  • Improved logging (to know what goes wrong)
  • It does not download the wallpaper if it already exists

Parameters:

Daily Wallhaven Wallpaper

optional arguments:
  -h, --help            show this help message and exit
  -api APIKEY, --apikey APIKEY
                        Values: your api key, see: https://wallhaven.cc/settings/account
  -s SORTING, --sorting SORTING
                        Values: date_added, relevance, random, views, favorites, toplist
  -t TOPRANGE, --toprange TOPRANGE
                        Values: 1d, 3d, 1w, 1M, 3M, 6M, 1y
  -or ORDER, --order ORDER
                        Values: desc, asc
  -al ATLEAST, --atleast ATLEAST
                        Values: 1920x1080 (anything x anything)
  -c CATEGORIES, --categories CATEGORIES
                        Values: 100, 110, 111 (general|anime|people), on(1) off(0)
  -p PURITY, --purity PURITY
                        Values: 100, 110, 111 (sfw|sketchy|nsfw), on(1) off(0)
  -d DISPLAY, --display DISPLAY
                        Desktop display number on OS X (0: all displays, 1: main display, etc
  -o OUTPUT, --output OUTPUT
                        Set the output directory to save the Wallpapers to.

Config file:

[DEFAULT]
apikey = 
sorting = toplist
toprange = 1d
order = desc
atleast = 1920x1080
ratio = 
categories = 100
purity = 100
display = 0
output = ~/Pictures/Wallpapers