Xinqi Bao's Git
projects
/
slstatus.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
added entropy
[slstatus.git]
/
config.def.h
diff --git
a/config.def.h
b/config.def.h
index
38af2b9
..
813bded
100644
(file)
--- a/
config.def.h
+++ b/
config.def.h
@@
-16,6
+16,7
@@
static unsigned int update_interval = 1;
- cpu_perc (cpu usage in percent) [argument: NULL]
- datetime (date and time) [argument: format]
- disk_perc (disk usage in percent) [argument: mountpoint]
- cpu_perc (cpu usage in percent) [argument: NULL]
- datetime (date and time) [argument: format]
- disk_perc (disk usage in percent) [argument: mountpoint]
+- entropy (available entropy) [argument: NULL]
- ram_perc (ram usage in percent) [argument: NULL]
- temp (temperature in degrees) [argument: temperature file]
- vol_perc (alsa volume and mute status in percent) [argument: soundcard]
- ram_perc (ram usage in percent) [argument: NULL]
- temp (temperature in degrees) [argument: temperature file]
- vol_perc (alsa volume and mute status in percent) [argument: soundcard]
@@
-29,5
+30,6
@@
static const struct arg args[] = {
{ ram_perc, "ram %3s | ", NULL },
{ vol_perc, "vol %4s | ", "default" },
{ disk_perc, "ssd %3s | ", "/" },
{ ram_perc, "ram %3s | ", NULL },
{ vol_perc, "vol %4s | ", "default" },
{ disk_perc, "ssd %3s | ", "/" },
+ { entropy, "crypt %s | ", NULL },
{ datetime, "%s", "%y-%m-%d %H:%M:%S" },
};
{ datetime, "%s", "%y-%m-%d %H:%M:%S" },
};