Set blocks and delim
This commit is contained in:
parent
46a76d91c6
commit
9be2702585
16
blocks.def.h
16
blocks.def.h
@ -1,11 +1,19 @@
|
|||||||
//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*/
|
||||||
{"Mem:", "free -h | awk '/^Mem/ { print $3\"/\"$2 }' | sed s/i//g", 30, 0},
|
{"", "echo", 0, 0},
|
||||||
|
{"", "sb-music", 1, 0},
|
||||||
{"", "date '+%b %d (%a) %I:%M%p'", 5, 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.
|
//sets delimeter between status commands. NULL character ('\0') means no delimeter.
|
||||||
static char delim[] = " | ";
|
static char delim[] = " ";
|
||||||
static unsigned int delimLen = 5;
|
static unsigned int delimLen = 5;
|
||||||
|
Loading…
Reference in New Issue
Block a user