1 //Modify this file to change what commands output to your statusbar, and recompile using the make command.
2 static const Block blocks[] = {
3 /*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/
4 {"", "cat ~/.pacupdate | sed /📦0/d", 0, 9},
6 {"🧠", "free -h | awk '/^Mem/ { print $3\"/\"$2 }' | sed s/i//g", 30, 0},
8 {"", "~/bin/statusbar/volume", 0, 10},
10 {"☀", "xbacklight | sed 's/\\..*//'", 0, 11},
12 {"", "~/bin/statusbar/battery", 5, 0},
14 {"🌡", "sensors | awk '/^temp1:/{print $2}'", 5, 0},
16 {"", "~/bin/statusbar/clock", 5, 0},
19 //sets delimeter between status commands. NULL character ('\0') means no delimeter.
20 static char delim = '|';