diff --git a/blocks.def.h b/blocks.def.h index 9c22d68..01296ea 100644 --- a/blocks.def.h +++ b/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.