mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Adds in Google Calendar and Weather support (hard-coded right now)
This commit is contained in:
committed by
Chris Cummer
parent
176052c78f
commit
8946e5cf24
18
status/widget.go
Normal file
18
status/widget.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package status
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/rivo/tview"
|
||||
)
|
||||
|
||||
func Widget() tview.Primitive {
|
||||
widget := tview.NewTextView()
|
||||
widget.SetBorder(true)
|
||||
widget.SetDynamicColors(true)
|
||||
widget.SetTitle(" 🦊 Status ")
|
||||
|
||||
fmt.Fprintf(widget, "%s", "cats and gods\ndogs and tacs")
|
||||
|
||||
return widget
|
||||
}
|
||||
Reference in New Issue
Block a user