20 lines
694 B
C
20 lines
694 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*/
|
|
{" ", "", 1000, 0},
|
|
{"", "status-bat", 1, 0},
|
|
{"", "status-vol", 1, 0},
|
|
{" ", "free -h | awk '/^Mem/ { print $3\"/\"$2 }' | sed s/i//g", 30, 0},
|
|
{"", "status-disk", 30, 0},
|
|
{" ", "date '+%a %Y-%m-%d %H:%M'", 5, 0},
|
|
{"", "status-net", 1, 0},
|
|
{"", "status-packages", 5, 8},
|
|
{" ", "", 1000, 0},
|
|
};
|
|
|
|
// sets delimeter between status commands. NULL character ('\0') means no
|
|
// delimeter.
|
|
static char delim[] = " ";
|
|
static unsigned int delimLen = 6;
|