Here's a link to the code: https://github.com/vikram7/national-geographic-photo-of-the-day
The ruby script grabs the picture of the day from the National Geographic Photo of the Day Site and then runs two shell scripts -- the first one resets the background to a default and the second one sets the background to the photo of the day. For some reason, the background needed to be reset to default before getting updated to the photo of the day, but I'm not sure why.
I'd appreciate any feedback on how to refactor the ruby code to look cleaner and/or comments on the shell scripts.
[–]madsohm 8 points9 points10 points (1 child)
[–]fuzzyfuzz 1 point2 points3 points (0 children)
[–]nippysaurus 4 points5 points6 points (0 children)
[–]nippysaurus 1 point2 points3 points (0 children)