1
0
mirror of https://github.com/taigrr/wtf synced 2026-03-26 00:22:21 -07:00

Added trello widget

This commit is contained in:
retgits
2018-06-18 13:38:24 -07:00
parent f879cb18e9
commit e6d45e4eeb
7 changed files with 283 additions and 0 deletions

3
wtf.go
View File

@@ -38,6 +38,7 @@ import (
"github.com/senorprogrammer/wtf/system"
"github.com/senorprogrammer/wtf/textfile"
"github.com/senorprogrammer/wtf/todo"
"github.com/senorprogrammer/wtf/trello"
"github.com/senorprogrammer/wtf/weatherservices/prettyweather"
"github.com/senorprogrammer/wtf/weatherservices/weather"
"github.com/senorprogrammer/wtf/wtf"
@@ -213,6 +214,8 @@ func addWidget(app *tview.Application, pages *tview.Pages, widgetName string) {
Widgets = append(Widgets, textfile.NewWidget(app, pages))
case "todo":
Widgets = append(Widgets, todo.NewWidget(app, pages))
case "trello":
Widgets = append(Widgets, trello.NewWidget())
case "weather":
Widgets = append(Widgets, weather.NewWidget(app, pages))
default: