mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
read widget title from config file
This commit is contained in:
parent
5c537f5549
commit
2de364a2ef
@ -27,7 +27,7 @@ func NewTextWidget(name string, configKey string, focusable bool) TextWidget {
|
||||
enabled: Config.UBool(fmt.Sprintf("wtf.mods.%s.enabled", configKey), false),
|
||||
focusable: focusable,
|
||||
|
||||
Name: name,
|
||||
Name: Config.UString(fmt.Sprintf("wtf.mods.%s.title", configKey), name),
|
||||
RefreshInt: Config.UInt(fmt.Sprintf("wtf.mods.%s.refreshInterval", configKey)),
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user