Skip to content

Instantly share code, notes, and snippets.

@yigitbey
yigitbey / set_wallpaper.py
Created February 28, 2011 16:31 — forked from stchris/getimg.py
Adding option to use feh as an alternative tool to set background on non-gnome systems
#!/usr/bin/env python
"""
set_wallpaper.py
Gets the current image of the day from NASA and sets it as the
background in Gnome by gconftool or feh on other systems.
The summary / description text is written to the image.
Requires:
PIL (apt-get install python-imaging or pip install PIL)