This is a pair of scripts to facilitate display a repo status in my i3bar. Also included is a fragment of my .i3blocks.conf file where I use the scripts.
To help me correct bad git habits, I want to bring the git status for the repo I'm wqorking on currently front and center in my i3bar.
Because I like ruby, I used ruby. it's probably faster in all sorts of other implementations and I urge you to develop them if you want. I my eventually attempt a python translation as an excuse to learn something about python. I don't understand shell string manipulation well enough to summarize things with it, again I'm sure it's possible I just don't know how to do it and it isn't important enough to me to learn right now.