| Crates.io | unsplash-wallpaper |
| lib.rs | unsplash-wallpaper |
| version | 1.0.1 |
| created_at | 2025-03-20 08:06:30.840635+00 |
| updated_at | 2025-06-28 14:13:42.406894+00 |
| description | A tiny tool to download multiple images from Unsplash API in parallel |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1598994 |
| size | 46,849 |
unsplash-wallpaperA tiny tool to download wallpapers from Unspash API.
cargo install unsplash-wallpaper
Or build it from source:
cargo build --release
Configuration files are taken from:
$XDG_CONFIG_HOME/unsplash-wallpaper (if $XDG_CONFIG_HOME is set)$HOME/.config/unsplash-wallpaperFirst save your token in plain text format in <config_dir>/token (can be obtained here). Leading and trailing whitespaces are trimmed.
Then, specify runtime settings in <config_dir>/params.toml:
collections = "1234567"
count = 15
dest_dir = ".local/share/backgrounds"
Then by running unsplash-wallpaper you'll get 15 images downloaded to ~/.local/share/backgrounds/<N>.jpeg (where N is a monotonically increasing number from 1 to 15).
Files are downloaded in parallel.
For each downloaded file its absolute filepath is printed to stdout, so you can do something like | head -n1 | set-bg in your scripts at startup.