software_builds/someblocks/blocks.h

17 lines
699 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*/
{"", "~/.dotfiles/someblocks/scripts/vol.sh", 1, 0},
{"", "~/.dotfiles/someblocks/scripts/temp.sh", 1, 0},
{"", "~/.dotfiles/someblocks/scripts/bat.sh", 1, 0},
// {"Mem:", "free -h | awk '/^Mem/ { print $3\"/\"$2 }' | sed s/i//g", 1, 0},
{"", "date '+ %H:%M'", 1, 0},
// {"", "", 1, 0},
// {"", "", 1, 0},
};
//sets delimeter between status commands. NULL character ('\0') means no delimeter.
static char delim[] = " | ";
static unsigned int delimLen = 5;