Update blocks.def.h
This commit is contained in:
parent
a8d9901a57
commit
81dcef14c4
14
blocks.def.h
14
blocks.def.h
@ -1,11 +1,15 @@
|
||||
//Modify this file to change what commands output to your statusbar, and recompile using the make command.
|
||||
// utility macros
|
||||
#define SECONDS(n) (n * 1000)
|
||||
|
||||
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},
|
||||
{"", "dwmblocks-battery", SECONDS(10), 0},
|
||||
{"", "dwmblocks-volume", 125, 0},
|
||||
{" ", "date +'%a %b %d'", SECONDS(30), 0},
|
||||
{" ", "date +'%R'", SECONDS(2), 0},
|
||||
{"", "dwmblocks-network", SECONDS(5), 0},
|
||||
};
|
||||
|
||||
// sets delimeter between status commands. NULL character ('\0') means no delimeter.
|
||||
static char delim[] = " | ";
|
||||
static char delim[] = " ";
|
||||
static unsigned int delimLen = 5;
|
||||
|
Loading…
Reference in New Issue
Block a user