Copy of http://code.stapelberg.de/git/i3status/ with modifications for my own use.