commit 540a90e521e7c17c2010e038b934b73d2cf46df3
parent 5d936ec43e882dcc03febf616b876d3944ef9980
Author: 305a385 <lotsof@shitposting.expert>
Date: Thu, 14 Dec 2023 09:15:39 +0200
Added documentation for how to use the update signal feature
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/blocks.def.h b/blocks.def.h
@@ -4,8 +4,13 @@ static const Block blocks[] = {
{"Mem:", "free -h | awk '/^Mem/ { print $3\"/\"$2 }' | sed s/i//g", 30, 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.
static char delim[] = " | ";
static unsigned int delimLen = 5;