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.

32 lines
1.2 KiB

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