Add a simple segment displaying the exit status if non-zero

Basic segment, pretty similar to the root one. I needed it because the root segment doesn't show the exact error code and is always displayed.