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