Fixes #207
This commit is contained in:
parent
36cba3468c
commit
6daf693246
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user