Set blocks and delim

This commit is contained in:
Jakub 2022-11-11 22:52:03 -05:00
parent 46a76d91c6
commit 9be2702585

View File

@ -1,11 +1,19 @@
//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},
{"", "date '+%b %d (%a) %I:%M%p'", 5, 0},
{"", "echo", 0, 0},
{"", "sb-music", 1, 0},
{"", "bar-updates", 1800, 8},
{"", "bar-weather", 3600, 9},
{"", "bar-cpu", 3, 0},
{"", "bar-ram", 3, 0},
{"", "bar-bluetooth", 1, 0},
{"", "bar-network", 1, 0},
{"", "bar-volume", 0, 10},
{"", "bar-date", 1, 0},
{"", "bar-time", 1, 0},
};
//sets delimeter between status commands. NULL character ('\0') means no delimeter.
static char delim[] = " | ";
static char delim[] = " ";
static unsigned int delimLen = 5;