#include #include #include #include "kconfig.h" #include "dwmstatus.h" static Display *dpy; int stradd( bbuf *a, bbuf *b ) { int i=0,j=0; for ( i=0; isize-1, a->str[i]!='\0'; i++){} for (j=0; (i+j)size-1, jsize-1; j++) { a->str[i+j] = b->str[j]; } return 0; } void setstatus(char *str) { XStoreName(dpy, DefaultRootWindow(dpy), str); XSync(dpy, False); } int main( int argc, char **argv ) { int cmd_status=0; int i=0; for (i=1; i