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.

30 lines
1.1 KiB

4 years ago
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/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("redshift"), 120, 29},
  9. { "", PATH("mpc"), 240, 29},
  10. { "", PATH("bluetooth"), 120, 26},
  11. { "", PATH("mconnect"), 120, 20},
  12. // { "", PATH("todo"), 120, 27},
  13. // { "", PATH("nextcloud"), 600, 25},
  14. { "", PATH("cpu-temp"), 30, 17},
  15. { "", PATH("memory"), 120, 21},
  16. { "", PATH("weather"), 60, 16},
  17. { "", PATH("arch"), 120, 15},
  18. { "", PATH("volume"), 5, 14},
  19. { "", PATH("network"), 120, 13},
  20. { "", PATH("battery"), 60, 12},
  21. { "", PATH("time"), 30, 11},
  22. { "", PATH("date"), 240, 22},
  23. };
  24. //Sets delimiter between status commands. NULL character ('\0') means no delimiter.
  25. static char *delim = " | ";
  26. // autocmd BufWritePost ~/.local/src/dwmblocks/config.h !cd ~/.local/src/dwmblocks/; sudo make install && { killall -q dwmblocks;setsid dwmblocks & }