feat: base configuration

This commit is contained in:
David JULIEN 2021-02-13 19:58:49 +01:00
parent 96cbb453e5
commit 72b5294bc7
1 changed files with 8 additions and 3 deletions

View File

@ -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.