dwmblocks
This commit is contained in:
parent
a933ce0d61
commit
c827571ba0
13
blocks.def.h
13
blocks.def.h
|
@ -1,11 +1,14 @@
|
|||
//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},
|
||||
{" [", "sb-updates", 300, 11},
|
||||
{" [", "sb-battery-new", 1, 0},
|
||||
{" [ ", "sb-mem-pct", 5, 0},
|
||||
{" [ ", "sb-cpu-pct", 5, 0},
|
||||
{" [" , "sb-volume", 5, 10},
|
||||
{" ", "date '+%Y-%m-%d %H:%M:%S'", 1, 0},
|
||||
};
|
||||
|
||||
//sets delimeter between status commands. NULL character ('\0') means no delimeter.
|
||||
static char delim[] = " | ";
|
||||
static unsigned int delimLen = 5;
|
||||
static char delim[] = "] ";
|
||||
static unsigned int delimLen = 1;
|
||||
|
|
Loading…
Reference in New Issue