~raphi/public-inbox

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[PATCH someblocks] Added documentation for how to use the update signal feature

Details
Message ID
<20231214071550.15234-1-lotsof@shitposting.expert>
DKIM signature
missing
Download raw message
Patch: +5 -0
---
 blocks.def.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/blocks.def.h b/blocks.def.h
index 9c22d68..7df3a64 100644
--- a/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;
-- 
2.43.0
Reply to thread Export thread (mbox)