Xinqi Bao's Git
projects
/
slstatus.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (parent:
a2d2e80
)
better default config.h
author
Aaron Marcher <
[email protected]
>
Wed, 5 Oct 2016 09:40:36 +0000
(11:40 +0200)
committer
drkhsh <
[email protected]
>
Wed, 5 Oct 2016 09:40:36 +0000
(11:40 +0200)
config.def.h
patch
|
blob
|
history
diff --git
a/config.def.h
b/config.def.h
index
4f56eb0
..
853adb6
100644
(file)
--- a/
config.def.h
+++ b/
config.def.h
@@
-33,8
+33,8
@@
- wifi_perc (wifi signal in percent) [argument: wifi card interface name]
- wifi_essid (wifi essid) [argument: wifi card interface name] */
static const struct arg args[] = {
- wifi_perc (wifi signal in percent) [argument: wifi card interface name]
- wifi_essid (wifi essid) [argument: wifi card interface name] */
static const struct arg args[] = {
- /* function format
argument */
- { cpu_perc, "[
CPU %4s ]",
NULL },
- { ram_perc, "[
Mem %3s ]",
NULL },
- { datetime, "[ %s ]",
"%F %T" },
+ /* function format argument */
+ { cpu_perc, "[
CPU %4s] ",
NULL },
+ { ram_perc, "[
RAM %3s] ",
NULL },
+ { datetime, "[ %s ]", "%F %T" },
};
};