Skip to content

Instantly share code, notes, and snippets.

View regismesquita's full-sized avatar

Regis David Souza Mesquita regismesquita

View GitHub Profile
@regismesquita
regismesquita / art_grabber.sh
Last active December 21, 2015 20:58
Just a tool for a dynamic background with images from artsicle... Made for fun and training shell
# Uses:
# folder=/path/to/arts origin=artsicle_username WAIT_TIME=1 FORMAT=zoom ./art_grabber.sh
# ./art_grabber.sh
folder=${folder:=/tmp/arts} # Folder for cache the images
origin=${origin:=regisdsm} # Your artsicle username
WAIT_TIME=${WAIT_TIME:=300} # Time between each wallpaper in seconds
FORMAT=${FORMAT:=spanned} # Possible values are "none", "wallpaper", "centered", "scaled", "stretched", "zoom", "spanned".