xkcd-wallpaper

Crates.ioxkcd-wallpaper
lib.rsxkcd-wallpaper
version0.0.1
created_at2025-08-16 13:05:31.166505+00
updated_at2025-08-16 13:05:31.166505+00
descriptionCLI Tool to download and generate wallpapers from xkcd comics.
homepage
repositoryhttps://github.com/filipepcampos/xkcd-wallpaper
max_upload_size
id1798417
size73,436
Filipe Campos (filipepcampos)

documentation

README

xkcd-wallpaper

MIT License Build status

Turn any XKCD comic into a wallpaper.

Fetches a comic (latest or by number), lays it on a canvas, replaces the background with your chosen hex colour, and saves the finished image -- ready to set as your desktop background. This can be combined with a startup script to replace your wallpaper daily.

Install

Stable release (planned)

[!CAUTION] This is planned for the future, as of this moment, this is still not possible

cargo install xkcd-wallpaper

From source

git clone https://github.com/filipepcampos/xkcd-wallpaper.git
cd xkcd-wallpaper
cargo install --path .

Usage

Print the full CLI reference:

xkcd-wallpaper --help

Generate a 2560 × 1440 wallpaper from comic 3084 with a dark‑green background:

xkcd-wallpaper \
  --width 2560 --height 1440 \
  --bg "#1F241F" \
  --fg light \
  --comic 3084

Example output

Original comic Wallpaper
Original commit Wallpaper
Original commit Wallpaper
Original commit Wallpaper

License

Distributed under the MIT License.

XKCD comics © Randall Munroe; used here under the terms of the XKCD license.

Commit count: 0

cargo fmt