blocks.h 609 B

12345678910111213141516171819
  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. {"", "~/.bin/song", 20, 9},
  5. {"", "~/.bin/sound", 0, 10},
  6. {"", "~/.bin/weather", 360, 0},
  7. {" ", "df -hPl $HOME | awk '/G/{print$4}'", 60, 0},
  8. {" ", "date +%H:%M", 60, 0},
  9. {" ", "date +%A%e", 60, 0},
  10. };
  11. //sets delimeter between status commands. NULL character ('\0') means no delimeter.
  12. static char delim = '|';