Online Wallpapers
Pyprland can fetch wallpapers from free online sources without requiring API keys. When online_ratio is set, each wallpaper change has a chance to fetch a new image from the configured backends. If a fetch fails, it falls back to local images.
Downloaded images are stored in the online_folder subfolder and become part of your local collection for future use.
NOTE
Online fetching requires online_ratio > 0. If online_backends is empty, online fetching is disabled.
Configuration
online_ratio
Probability (0.0 to 1.0) of fetching a wallpaper from online sources instead of local files. Set to 0.0 to disable online fetching or 1.0 to always fetch online.
online_ratio = 0.3 # 30% chance of fetching onlineonline_backends
List of online backends to use. Defaults to all available backends. Set to an empty list to disable online fetching. See Available Backends for details.
online_backends = ["unsplash", "wallhaven"] # Use only these twoonline_keywords
Keywords to filter online wallpaper searches. Not all backends support keywords.
online_keywords = ["nature", "landscape", "mountains"]online_folder
Subfolder name within path where downloaded online images are stored. These images persist and become part of your local collection.
online_folder = "online" # Stores in {path}/online/Cache Management
cache_days
Days to keep cached images before automatic cleanup. Set to 0 to keep images forever.
cache_days = 30 # Remove cached images older than 30 dayscache_max_mb
Maximum cache size in megabytes. When exceeded, oldest files are removed first. Set to 0 for unlimited.
cache_max_mb = 500 # Limit cache to 500 MBcache_max_images
Maximum number of cached images. When exceeded, oldest files are removed first. Set to 0 for unlimited.
cache_max_images = 100 # Keep at most 100 cached imagesAvailable Backends
| Backend | Keywords | Description |
|---|---|---|
unsplash | ✓ | Unsplash Source - high quality photos |
wallhaven | ✓ | Wallhaven - curated wallpapers |
reddit | ✓ | Reddit - keywords map to wallpaper subreddits |
picsum | ✗ | Picsum Photos - random images |
bing | ✗ | Bing Daily Wallpaper |
Example Configuration
[wallpapers]
path = "~/Pictures/wallpapers/"
online_ratio = 0.2 # 20% chance to fetch online
online_backends = ["unsplash", "wallhaven"]
online_keywords = ["nature", "minimal"]