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.
cargo install xkcd-wallpapergit clone https://github.com/filipepcampos/xkcd-wallpaper.git
cd xkcd-wallpaper
cargo install --path .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
| Original comic | Wallpaper |
|---|---|
Distributed under the MIT License.
XKCD comics © Randall Munroe; used here under the terms of the XKCD license.