mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
add some comments
This commit is contained in:
parent
28f34c2d49
commit
909b82f8de
3
wtf.go
3
wtf.go
@ -13,6 +13,7 @@ import (
|
|||||||
"github.com/senorprogrammer/wtf/bamboohr"
|
"github.com/senorprogrammer/wtf/bamboohr"
|
||||||
"github.com/senorprogrammer/wtf/clocks"
|
"github.com/senorprogrammer/wtf/clocks"
|
||||||
"github.com/senorprogrammer/wtf/cmdrunner"
|
"github.com/senorprogrammer/wtf/cmdrunner"
|
||||||
|
"github.com/senorprogrammer/wtf/cryptolive"
|
||||||
"github.com/senorprogrammer/wtf/gcal"
|
"github.com/senorprogrammer/wtf/gcal"
|
||||||
"github.com/senorprogrammer/wtf/git"
|
"github.com/senorprogrammer/wtf/git"
|
||||||
"github.com/senorprogrammer/wtf/github"
|
"github.com/senorprogrammer/wtf/github"
|
||||||
@ -171,6 +172,7 @@ func makeWidgets(app *tview.Application, pages *tview.Pages) {
|
|||||||
todo.Config = Config
|
todo.Config = Config
|
||||||
weather.Config = Config
|
weather.Config = Config
|
||||||
wtf.Config = Config
|
wtf.Config = Config
|
||||||
|
cryptolive.Config = Config
|
||||||
|
|
||||||
Widgets = []wtf.Wtfable{
|
Widgets = []wtf.Wtfable{
|
||||||
bamboohr.NewWidget(),
|
bamboohr.NewWidget(),
|
||||||
@ -190,6 +192,7 @@ func makeWidgets(app *tview.Application, pages *tview.Pages) {
|
|||||||
textfile.NewWidget(app, pages),
|
textfile.NewWidget(app, pages),
|
||||||
todo.NewWidget(app, pages),
|
todo.NewWidget(app, pages),
|
||||||
weather.NewWidget(app, pages),
|
weather.NewWidget(app, pages),
|
||||||
|
cryptolive.NewWidget(),
|
||||||
}
|
}
|
||||||
|
|
||||||
FocusTracker = wtf.FocusTracker{
|
FocusTracker = wtf.FocusTracker{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user