Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Automatically download the latest Simple Desktop to a backgrounds-stage directory.
#! /usr/bin/env bash
pushd ~/Dropbox/Pictures/backgrounds-stage
http --print b https://feeds.feedburner.com/simpledesktops | tq 'item description' --text | tq 'img' --attr src --squash | head -1 | wget --no-clobber --input-file=-
@drhayes
Copy link
Author

drhayes commented Jan 31, 2022

Uses tq, from here: https://github.com/plainas/tq

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment