made some updates

This commit is contained in:
Solomon Laing 2022-05-07 22:19:44 +09:30
parent a933ce0d61
commit 62470a8c4b

View File

@ -1,9 +1,15 @@
//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", 30, 0},
{"Mem ", "free -h | awk '/^Mem/ { print $3\"/\"$2 }' | sed s/i//g", 30, 0},
{"", "date '+%b %d (%a) %I:%M%p'", 5, 0},
{"", "date '+(%a) %Y-%m-%d %H:%M'", 5, 0},
{"", "status-net", 30, 0},
{"", "status-vol", 30, 0},
{" ", "", 3600, 0}, /* badding */
};
//sets delimeter between status commands. NULL character ('\0') means no delimeter.