added my own blocks
This commit is contained in:
parent
b6b0be4f4f
commit
b116f20b7b
12
blocks.def.h
12
blocks.def.h
@ -1,11 +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},
|
||||
/*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/
|
||||
|
||||
{"", "date '+%b %d (%a) %I:%M%p'", 5, 0},
|
||||
{"| nw: ", "./modules.sh network", 2, 9},
|
||||
{"| bat: ", "./modules.sh bat", 2, 9},
|
||||
{"| lux: ", "./modules.sh lux", 5, 11},
|
||||
{"| vol: ", "./modules.sh vol", 5, 10},
|
||||
{"| lang: ", "./modules.sh lang", 5, 12},
|
||||
{"| ", "./modules.sh date", 1, 9},
|
||||
};
|
||||
|
||||
//sets delimeter between status commands. NULL character ('\0') means no delimeter.
|
||||
static char delim[] = " | ";
|
||||
static char delim[] = " ";
|
||||
static unsigned int delimLen = 5;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user