Skip to content

chinmay1994/apod_desktop_background

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

###Change your Mac OS X Desktop background to NASA's pic of the day.
NASA Astronomy Picture of the Day can be found out here.

Pre Requisites :

sudo pip install beautifulsoup4

To use

Change the directory path on line 17. After that do :

   python get_nasa_apod.py

How it works :

We use sqlite3 to update the database file (.db extension) which points towards the image to be used for the desktop background.
It will then restart the Dock using 'killall Dock' so that the changes take place.

NOTE FOR LINUX USERS: The only difference between Mac OS X and a Linux box will be the config file where we actually change the desktop background. Downloading the file and the cron job script should work fine for you (haven't tested it (yet) though)

About

Set the Astronomy Picture of the Day as your desktop background

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%