erikw/tmux-powerline — pull request #149 by austinbeam (2013-02-27 08:09:15+00:00)
Title: Base Weather Icons on Sunrise/Sunset Times

Rather than having a fixed sunrise/sunset time, use the data already being pulled from the weather server to adapt these times.

This is done by passing the time string pulled from the weather server for both sunrise and sunset through the ```date``` command. This value can then be compared against a ```date +%H%M``` to determine the appropriate symbol.

I've also reworked the weather file caching mechanism based on what seemed most appropriate. Let me know if there's a reason not to do it this way. Basically I am just echoing the full output of the weather segment to the temp file rather than the temperature data.

Finally, there is a typo and some tab/space inconsistencies resolved with this pull request.

Let me know if there are any issues or if anything needs further modification.