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.

29 lines
1.1 KiB

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