Skip to content

Instantly share code, notes, and snippets.

@li360
li360 / getimg.py
Created April 10, 2016 07:44 — forked from stchris/getimg.py
Improved version of getimg.sh - gets the 'image of the day' from NASA, writes the summary onto the image and sets it as the Gnome wallpaper.
#!/usr/bin/env python
"""
getimg.py
Gets the current image of the day from NASA and sets it as the
background in Gnome. The summary / description text is written
to the image.
Requires:
PIL (apt-get install python-imaging or pip install PIL)