#!/bin/sh curl -s "$(curl -sL https://c.xkcd.com/random/comic | grep 'Image URL' | awk -F\" '{print $2}')" -o ~/Pictures/xkcd-wallpaper.png