mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
add score to main.go
This commit is contained in:
parent
ad6b231f74
commit
9008caecae
3
main.go
3
main.go
@ -63,6 +63,7 @@ import (
|
||||
"github.com/wtfutil/wtf/modules/weatherservices/prettyweather"
|
||||
"github.com/wtfutil/wtf/modules/weatherservices/weather"
|
||||
"github.com/wtfutil/wtf/modules/zendesk"
|
||||
"github.com/wtfutil/wtf/modules/nbascore"
|
||||
"github.com/wtfutil/wtf/wtf"
|
||||
)
|
||||
|
||||
@ -232,6 +233,8 @@ func addWidget(app *tview.Application, pages *tview.Pages, widgetName string) {
|
||||
widgets = append(widgets, power.NewWidget(app))
|
||||
case "prettyweather":
|
||||
widgets = append(widgets, prettyweather.NewWidget(app))
|
||||
case "nbascore":
|
||||
widgets = append(widgets, nbascore.NewWidget(app, pages))
|
||||
case "security":
|
||||
widgets = append(widgets, security.NewWidget(app))
|
||||
case "status":
|
||||
|
Loading…
x
Reference in New Issue
Block a user