This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Usage: earthporn [+format] [-time] [logfile] | |
# Dependencies: bash, wget, mktemp... and well, date and sleep | |
imgfile=~/.earthporn | |
# Help and version functions | |
help () { | |
echo "Randomly picks one of the amazing photos at http://imgur.com/r/earthporn" | |
echo "and sets it as the background image." |