Forked from ericboehs/himawari-8-osx-wallpapers.sh
Created
October 27, 2016 16:50
This file contains hidden or 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
# This script will create a cron that downloads the latest image from Himawari 8 every 5 minutes. I use it as my wallpaper. | |
# | |
# The Himawari 8 weather satellite acquires 5500x5500 images of Earth every 10 minutes. It captures other weather related | |
# stills but the full disk, true color is the most amazing. | |
# The latest is accessible at | |
# http://rammb.cira.colostate.edu/ramsdis/online/images/latest_hi_res/himawari-8/full_disk_ahi_true_color.jpg. | |
# | |
# The satellite was launched in July of 2015. It's the highest resolution | |
# camera we currently have pointing at earth (stationary at the L1 point). | |
# | |
# For more information check out this post on reddit: | |
# https://www.reddit.com/r/space/comments/43fwuk/new_2k_footage_from_the_himawari8_satellite_of_24/ | |
mkdir -p ~/Pictures/Himawari-8 | |
echo "0/5 * * * * (export WALLS=~/Pictures/Himawari-8; rm \$WALLS/*.jpg; /usr/bin/curl -s http://rammb.cira.colostate.edu/ramsdis/online/images/latest_hi_res/himawari-8/full_disk_ahi_true_color.jpg > \$WALLS/\`date -u +\%FT\%H-\%M-\%S\`.jpg)" >> ~/.crontab | |
crontab ~/.crontab | |
# Then set your Desktop to use the Himawari-8 directory for a new picture every 5 mins (Use "Fit to Screen"). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there
I have a 4k display connected to my mac. Is it possible to have this script format the pic to fit my 42 inch 4k display?
Thanks