1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

add some comments

This commit is contained in:
Hossein Mehrabi 2018-05-29 20:17:37 +04:30
parent 28f34c2d49
commit 909b82f8de

3
wtf.go
View File

@ -13,6 +13,7 @@ import (
"github.com/senorprogrammer/wtf/bamboohr"
"github.com/senorprogrammer/wtf/clocks"
"github.com/senorprogrammer/wtf/cmdrunner"
"github.com/senorprogrammer/wtf/cryptolive"
"github.com/senorprogrammer/wtf/gcal"
"github.com/senorprogrammer/wtf/git"
"github.com/senorprogrammer/wtf/github"
@ -171,6 +172,7 @@ func makeWidgets(app *tview.Application, pages *tview.Pages) {
todo.Config = Config
weather.Config = Config
wtf.Config = Config
cryptolive.Config = Config
Widgets = []wtf.Wtfable{
bamboohr.NewWidget(),
@ -190,6 +192,7 @@ func makeWidgets(app *tview.Application, pages *tview.Pages) {
textfile.NewWidget(app, pages),
todo.NewWidget(app, pages),
weather.NewWidget(app, pages),
cryptolive.NewWidget(),
}
FocusTracker = wtf.FocusTracker{