mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
A few minor changes made while updating documentation
Signed-off-by: Chris Cummer <chriscummer@me.com>
This commit is contained in:
@@ -11,14 +11,14 @@ const (
|
||||
)
|
||||
|
||||
type Settings struct {
|
||||
common *cfg.Common
|
||||
common *cfg.Common
|
||||
cpuCombined bool
|
||||
}
|
||||
|
||||
func NewSettingsFromYAML(name string, ymlConfig *config.Config, globalConfig *config.Config) *Settings {
|
||||
settings := Settings{
|
||||
common: cfg.NewCommonSettingsFromModule(name, defaultTitle, defaultFocusable, ymlConfig, globalConfig),
|
||||
cpuCombined: ymlConfig.UBool("cpuCombined"),
|
||||
common: cfg.NewCommonSettingsFromModule(name, defaultTitle, defaultFocusable, ymlConfig, globalConfig),
|
||||
cpuCombined: ymlConfig.UBool("cpuCombined", false),
|
||||
}
|
||||
|
||||
return &settings
|
||||
|
||||
Reference in New Issue
Block a user