sistema_progs

Programas para customizar o meu entorno de traballo nos meus equipos persoais
Log | Files | Refs

blocks.def.h (478B)


      1 //Modify this file to change what commands output to your statusbar, and recompile using the make command.
      2 static const Block blocks[] = {
      3 	/*Icon*/	/*Command*/		/*Update Interval*/	/*Update Signal*/
      4 	{"Mem:", "free -h | awk '/^Mem/ { print $3\"/\"$2 }' | sed s/i//g",	30,		0},
      5 
      6 	{"", "date '+%b %d (%a) %I:%M%p'",					5,		0},
      7 };
      8 
      9 //sets delimeter between status commands. NULL character ('\0') means no delimeter.
     10 static char delim[] = " | ";
     11 static unsigned int delimLen = 5;