added updated counter

This commit is contained in:
Solomon Laing 2023-02-17 20:44:31 +10:30
parent 000e26c05b
commit 3e2e81f50a

View File

@ -1,25 +1,19 @@
//Modify this file to change what commands output to your statusbar, and recompile using the make command.
// 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[] = " | ";
// sets delimeter between status commands. NULL character ('\0') means no
// delimeter.
static char delim[] = " ";
static unsigned int delimLen = 6;