blocks.h 651 B

123456789101112131415161718
  1. //Modify this file to change what commands output to your statusbar, and recompile using the make command.
  2. static const Block blocks[] = {
  3. /*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/
  4. {"  ", "/opt/dwmblocks/scripts/kernel", 360, 2},
  5. {"  ", "/opt/dwmblocks/scripts/pacupdate", 360, 9},
  6. {"  ", "/opt/dwmblocks/scripts/memory", 6, 1},
  7. {" ", "/opt/dwmblocks/scripts/cpu", 1, 11},
  8. {"  ", "/opt/dwmblocks/scripts/clock", 5, 0},
  9. };
  10. //sets delimeter between status commands. NULL character ('\0') means no delimeter.
  11. static char delim = ' ';