My personal build for dwm statusbar.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
769 B

7 months ago
7 months ago
  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. {"", "memory", 10, 6},
  5. {"", "cpu", 10, 5},
  6. {"", "disk /", 1800, 7},
  7. {"", "volume", 0, 4},
  8. {"", "battery BAT0", 5, 2},
  9. {"", "internet", 5, 3},
  10. {"", "clock", 60, 1},
  11. };
  12. //sets delimeter between status commands. NULL character ('\0') means no delimeter.
  13. static char delim = '|';
  14. // Have dwmblocks automatically recompile and run when you edit this file in
  15. // vim with the following line in your vimrc/init.vim:
  16. // autocmd BufWritePost ~/.local/src/dwmblocks/config.h !cd ~/.local/src/dwmblocks/; sudo make install && { killall -q dwmblocks;setsid dwmblocks & }