Xinqi Bao's Git

remove format characters from stat functions
[slstatus.git] / config.def.h
index da26001..be60df8 100644 (file)
@@ -41,8 +41,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[] = {
-       /* function     format        argument */
-       { cpu_perc, "[CPU %4s] ", NULL },
-       { ram_perc, "[RAM %3s] ", NULL },
-       { datetime, "[ %s ]",     "%F %T" },
+       /* function format          argument */
+       { cpu_perc, "[CPU %3s%%] ", NULL    },
+       { ram_perc, "[RAM %2s%%] ", NULL    },
+       { datetime, "[ %s ]",       "%F %T" },
 };