Xinqi Bao's Git
projects
/
slstatus.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
Implement esnprintf() and make formatted calls more efficient
[slstatus.git]
/
config.def.h
diff --git
a/config.def.h
b/config.def.h
index
9dcd5d6
..
49ea282
100644
(file)
--- a/
config.def.h
+++ b/
config.def.h
@@
-1,7
+1,7
@@
/* See LICENSE file for copyright and license details. */
/* interval between updates (in ms) */
/* 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";
/* text to show if no value can be retrieved */
static const char unknown_str[] = "n/a";
@@
-16,6
+16,8
@@
static const char unknown_str[] = "n/a";
* NULL on OpenBSD
* battery_state battery charging state battery name (BAT0)
* NULL on OpenBSD
* NULL on OpenBSD
* battery_state battery charging state battery name (BAT0)
* NULL on OpenBSD
+ * battery_remaining battery remaining HH:MM battery name (BAT0)
+ * NULL on OpenBSD
* cpu_perc cpu usage in percent NULL
* cpu_freq cpu frequency in MHz NULL
* datetime date and time format string (%F %T)
* cpu_perc cpu usage in percent NULL
* cpu_freq cpu frequency in MHz NULL
* datetime date and time format string (%F %T)
@@
-32,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)
* 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
* num_files number of files in a directory path
* (/home/foo/Inbox/cur)
* ram_free free memory in GB NULL