updated to include bat

This commit is contained in:
Solomon Laing 2022-05-09 22:07:44 +09:30
parent f3bdde9270
commit fed53ece96

View File

@ -1,14 +1,15 @@
//Modify this file to change what commands output to your statusbar, and recompile using the make command. //Modify this file to change what commands output to your statusbar, and recompile using the make command.
static const Block blocks[] = { static const Block blocks[] = {
/*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/ /*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/
{"", "status-bat", 1, 0},
{"Mem ", "free -h | awk '/^Mem/ { print $3\"/\"$2 }' | sed s/i//g", 30, 0}, {"Mem ", "free -h | awk '/^Mem/ { print $3\"/\"$2 }' | sed s/i//g", 30, 0},
{"", "date '+(%a) %Y-%m-%d %H:%M'", 5, 0}, {"", "date '+(%a) %Y-%m-%d %H:%M'", 5, 0},
{"", "status-net", 1, 0}, {"", "status-net", 1, 0},
{"", "status-vol && echo \"\" ", 1, 0}, {"", "status-vol", 1, 0},
/* padding */
}; };