Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Get icon
#!/bin/bash
pattern="http://dcbdluf1ahqio.cloudfront.net/%s/%s.png"
service="$1"
width=${2:-42}
size="${width}x${width}"
url=$(printf "$pattern" "$service" "$size")
wget $url -O "${service}_icon.png"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.