mydwmblocks/blocks.def.h

16 lines
606 B
C

//Modify this file to change what commands output to your statusbar, and recompile using the make command.
static const Block blocks[] = {
/*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/
{"| nw: ", "./modules.sh network", 2, 9},
{"| bat: ", "./modules.sh bat", 2, 9},
{"| lux: ", "./modules.sh lux", 5, 11},
{"| vol: ", "./modules.sh vol", 5, 9},
{"| lang: ", "./modules.sh lang", 5, 12},
{"| ", "./modules.sh date", 1, 9},
};
//sets delimeter between status commands. NULL character ('\0') means no delimeter.
static char delim[] = " ";
static unsigned int delimLen = 5;