config.h 865 B

123456789101112131415161718192021222324252627
  1. /* slstatus configuration */
  2. /* See LICENSE file for copyright and license details. */
  3. /* interval between updates (in ms) */
  4. const unsigned int interval = 1000;
  5. /* text to show if no value can be retrieved */
  6. static const char unknown_str[] = "n/a";
  7. /* maximum output string length */
  8. #define MAXLEN 2048
  9. /* output formats */
  10. static const struct arg args[] = {
  11. /* function, format, argument */
  12. { netspeed_rx, "%sB/s ", "wlp3s0" },
  13. { run_command, "%s ", "find /home/ak/.mail/Inbox/new -type f -printf . | wc -c" },
  14. { cpu_perc, "%s ", "NULL" },
  15. { ram_used, "%s ", "NULL" },
  16. { temp, "%sC ", "/sys/class/thermal/thermal_zone0/temp" },
  17. { wifi_essid, "%s ", "wlp3s0" },
  18. { battery_state, "%s ", "BAT0" },
  19. { battery_perc, "%3s%% ", "BAT0" },
  20. { battery_remaining, "%s ", "BAT0" },
  21. { datetime, "%s", "%a %d %H:%M" },
  22. };