status

statusbar program for dwm
git clone anongit@rnpnr.xyz:status.git
Log | Files | Refs | Feed | README | LICENSE

status.h (274B)


      1 #define BLOCKLEN 128
      2 #define BLOCKPAD 4
      3 
      4 struct Block {
      5 	size_t (*const fn)(struct Block *b);
      6 	const char *fmt;
      7 	const int interval;
      8 	const int signal;
      9 	const void *arg;
     10 	char curstr[BLOCKLEN];
     11 	char prevstr[BLOCKLEN];
     12 	size_t len;
     13 };
     14 
     15 extern char buf[BLOCKLEN - BLOCKPAD];