Skip to content

Tiny Ruby hack that sets NASA image of the day as wallpaper for OS X

Notifications You must be signed in to change notification settings

bartolsthoorn/ruby-nasa-wallpaper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

NASA Image Of The Day Wallpaper

Quick hack in Ruby for Mac OS X! It sets the NASA image of the day as the wallpaper.

Install it like so:

cd ~/Pictures
git clone https://github.com/bartolsthoorn/ruby-nasa-wallpaper.git
mv ruby-nasa-wallpaper/nasa-fetch.rb nasa-fetch.rb
mv ruby-nasa-wallpaper/nasa-set.sh nasa-set.sh
nano nasa-fetch.rb
# Change @user = 'bart' to your username
ruby nasa-fetch.rb
rm -rf ruby-nasa-wallpaper
# Adding to startup to refresh automatically
sudo launchctl submit -l nasa_image_ruby -- ruby ~/Pictures/nasa-fetch.rb

About

Tiny Ruby hack that sets NASA image of the day as wallpaper for OS X

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published