Xinqi Bao's Git

Implement fmt_human_2() and fmt_human_10()
[slstatus.git] / config.def.h
index 495f44f..49ea282 100644 (file)
@@ -1,7 +1,7 @@
 /* See LICENSE file for copyright and license details. */
 
 /* interval between updates (in ms) */
-static const unsigned int interval = 1000;
+const unsigned int interval = 1000;
 
 /* text to show if no value can be retrieved */
 static const char unknown_str[] = "n/a";
@@ -34,6 +34,8 @@ static const char unknown_str[] = "n/a";
  * keyboard_indicators  caps/num lock indicators        NULL
  * load_avg             load average                    format string
  *                                                      (%.2f %.2f %.2f)
+ * netspeed_rx          receive network speed           interface name (wlan0)
+ * netspeed_tx          transfer network speed          interface name (wlan0)
  * num_files            number of files in a directory  path
  *                                                      (/home/foo/Inbox/cur)
  * ram_free             free memory in GB               NULL