added updated counter
This commit is contained in:
parent
000e26c05b
commit
3e2e81f50a
36
blocks.def.h
36
blocks.def.h
@ -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[] = {
|
static const Block blocks[] = {
|
||||||
/*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/
|
/*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/
|
||||||
{" ", "", 1000, 0},
|
{" ", "", 1000, 0},
|
||||||
|
{"", "status-bat", 1, 0},
|
||||||
{"", "status-bat", 1, 0},
|
{"", "status-vol", 1, 0},
|
||||||
|
{" ", "free -h | awk '/^Mem/ { print $3\"/\"$2 }' | sed s/i//g", 30, 0},
|
||||||
{"", "status-vol", 1, 0},
|
{"", "status-disk", 30, 0},
|
||||||
|
{" ", "date '+%a %Y-%m-%d %H:%M'", 5, 0},
|
||||||
{" ", "free -h | awk '/^Mem/ { print $3\"/\"$2 }' | sed s/i//g", 30, 0},
|
{"", "status-net", 1, 0},
|
||||||
|
{"", "status-packages", 5, 8},
|
||||||
{"", "status-disk", 30, 0},
|
{" ", "", 1000, 0},
|
||||||
|
|
||||||
{" ", "date '+%a %Y-%m-%d %H:%M'", 5, 0},
|
|
||||||
|
|
||||||
{"", "status-net", 1, 0},
|
|
||||||
|
|
||||||
{" ", "", 1000, 0},
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
//sets delimeter between status commands. NULL character ('\0') means no delimeter.
|
// sets delimeter between status commands. NULL character ('\0') means no
|
||||||
static char delim[] = " | ";
|
// delimeter.
|
||||||
|
static char delim[] = " ";
|
||||||
static unsigned int delimLen = 6;
|
static unsigned int delimLen = 6;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user