Added documentation for how to use the update signal feature
This commit is contained in:
parent
5d936ec43e
commit
540a90e521
1 changed files with 5 additions and 0 deletions
|
@ -4,8 +4,13 @@ static const Block blocks[] = {
|
||||||
{"Mem:", "free -h | awk '/^Mem/ { print $3\"/\"$2 }' | sed s/i//g", 30, 0},
|
{"Mem:", "free -h | awk '/^Mem/ { print $3\"/\"$2 }' | sed s/i//g", 30, 0},
|
||||||
|
|
||||||
{"", "date '+%b %d (%a) %I:%M%p'", 5, 0},
|
{"", "date '+%b %d (%a) %I:%M%p'", 5, 0},
|
||||||
|
|
||||||
|
/* Updates whenever "pkill -SIGRTMIN+10 someblocks" is ran */
|
||||||
|
/* {"", "date '+%b %d (%a) %I:%M%p'", 0, 10}, */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//sets delimeter between status commands. NULL character ('\0') means no delimeter.
|
//sets delimeter between status commands. NULL character ('\0') means no delimeter.
|
||||||
static char delim[] = " | ";
|
static char delim[] = " | ";
|
||||||
static unsigned int delimLen = 5;
|
static unsigned int delimLen = 5;
|
||||||
|
|
Reference in a new issue