Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 739 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 739 Bytes

xkcd.py

A stupid simple script that grabs an XKCD comic, adds a little drop shadow and a background, and saves the result.

Usage

usage: xkcd.py [-h] (-c COMICNUM | -r) [-b BGCOLOR] [-s SIZE]

Generate XKCD wallpapers.

options:
  -h, --help            show this help message and exit
  -c COMICNUM, --comicnum COMICNUM
                        which comic to use
  -r, --random          use random comic
  -b BGCOLOR, --bgcolor BGCOLOR
                        color value in hex notation
  -s SIZE, --size SIZE  resolution to create the wallpaper. default 1920x1080

Dependencies

  • ImageMagick
  • python3