aboutsummaryrefslogtreecommitdiff
path: root/blocks.def.h
diff options
context:
space:
mode:
author305a385 <lotsof@shitposting.expert>2023-12-14 09:15:39 +0200
committerRaphael Robatsch <raphael-git@tapesoftware.net>2023-12-26 13:34:41 +0100
commit540a90e521e7c17c2010e038b934b73d2cf46df3 (patch)
tree37049c63d7ec98eb8c3f716ec155bf7d7c6930a1 /blocks.def.h
parent5d936ec43e882dcc03febf616b876d3944ef9980 (diff)
Added documentation for how to use the update signal feature
Diffstat (limited to 'blocks.def.h')
-rw-r--r--blocks.def.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/blocks.def.h b/blocks.def.h
index 9c22d68..7df3a64 100644
--- 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;