C program for populating the dwm status-bar