From 305a385 to ~raphi/public-inbox
It works for me blocks.h: >//Modify this file to change what commands output to your statusbar, and recompile using the make command. >static const Block blocks[] = { > /*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/ > {"Mem:", "free -h | awk '/^Mem/ { print $3\"/\"$2 }' | sed s/i//g", 3, 0}, > > > {"", "date '+%b %d (%a) %I:%M%p'", 15, 0}, > > {"💾 ", "df -h | grep '/' -w | awk '{ print $3 \"iB/\"$2 \"iB\"}'", 120, 0}, >
From 305a385 to ~raphi/public-inbox
--- 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 */[message trimmed]