This commit is contained in:
Sean E. Russell 2022-03-15 11:05:45 -05:00
parent 36cba3468c
commit 6daf693246
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ updateinterval=1000000000
averagecpu=false
# If true, show load per CPU
percpuload=true
# Temperature units. C for Celcius, F for Fahrenheit
# Temperature units. C for Celsius, F for Fahrenheit
tempscale=C
# If true, display a status bar
statusbar=false

View File

@ -241,7 +241,7 @@ func marshal(c *Config) []byte {
fmt.Fprintf(buff, "%s=%t\n", averagecpu, c.AverageLoad)
fmt.Fprintln(buff, "# If true, show load per CPU")
fmt.Fprintf(buff, "%s=%t\n", percpuload, c.PercpuLoad)
fmt.Fprintln(buff, "# Temperature units. C for Celcius, F for Fahrenheit")
fmt.Fprintln(buff, "# Temperature units. C for Celsius, F for Fahrenheit")
fmt.Fprintf(buff, "%s=%c\n", tempscale, c.TempScale)
fmt.Fprintln(buff, "# If true, display a status bar")
fmt.Fprintf(buff, "%s=%t\n", statusbar, c.Statusbar)