X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/259e967cbf855d1ed3886c7afafb1bfe6ab11645..abbaa7af4401bbece8c9a9cb27408a0c84421762:/config.def.h?ds=sidebyside diff --git a/config.def.h b/config.def.h index 426cc28..be60df8 100644 --- a/config.def.h +++ b/config.def.h @@ -11,6 +11,7 @@ - battery_power (battery power usage) [argument: battery name] - battery_state (battery charging state) [argument: battery name] - cpu_perc (cpu usage in percent) [argument: NULL] +- cpu_freq (cpu frequency) [argument: NULL] - datetime (date and time) [argument: format] - disk_free (free disk space in GB) [argument: mountpoint] - disk_perc (disk usage in percent) [argument: mountpoint] @@ -40,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" }, };