Browse Source

feat: base configuration

master
David JULIEN 2 years ago
parent
commit
72b5294bc7
  1. 11
      blocks.def.h

11
blocks.def.h

@ -1,9 +1,14 @@
//Modify this file to change what commands output to your statusbar, and recompile using the make command.
//To send a signal : kill -(34+signal) $(pidof dwmblocks)
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-music", 0, 5},
{"", "sb-mailbox", 180, 6},
{"", "sb-volume", 0, 4},
{"", "sb-internet", 5, 3},
{"", "sb-battery", 5, 2},
{"", "date '+%b. %d - %I:%M%p '", 60, 1},
};
//sets delimeter between status commands. NULL character ('\0') means no delimeter.

Loading…
Cancel
Save