Another copy of my dotfiles. Because I don't completely trust GitHub.
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.

21 lines
755 B

  1. #define PATH(name) "/home/yigit/.scripts/status-bar/"name
  2. static Block blocks[] = {
  3. { "", PATH("cpu-temp"), 30, 17},
  4. { "", PATH("weather"), 60, 16},
  5. { "", PATH("arch"), 120, 15},
  6. { "", PATH("volume"), 120, 14},
  7. { "", PATH("network"), 120, 13},
  8. { "", PATH("battery"), 60, 12},
  9. { "", PATH("time"), 30, 11},
  10. };
  11. //Sets delimiter between status commands. NULL character ('\0') means no delimiter.
  12. static char *delim = " | ";
  13. // Have dwmblocks automatically recompile and run when you edit this file in
  14. // vim with the following line in your vimrc/init.vim:
  15. // autocmd BufWritePost ~/.local/src/dwmblocks/config.h !cd ~/.local/src/dwmblocks/; sudo make install && { killall -q dwmblocks;setsid dwmblocks & }