Skip to content

filipepcampos/xkcd-wallpaper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Release

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages