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

8 Commits

Author SHA1 Message Date
Chris Cummer
278bf583c4 Remove the common refresher() code into BaseWidget 2018-04-02 04:38:55 -07:00
Chris Cummer
7b5d06c670 Tweaks to the widget presentation 2018-03-31 13:59:23 -07:00
Chris Cummer
da8220ff0d Nowrap text on widget that don't need to wrap text 2018-03-30 10:37:38 -07:00
Chris Cummer
2f63a56eae Widgets have names 2018-03-30 10:21:05 -07:00
Chris Cummer
ab4774c86a Widgets refresh via goroutine
All widgets now refresh their own data using their own internal go
routine. This allows them to set their own update schedule (where
RefreshInterval is the time in seconds between refreshes).

The app uses a goroutine to redraw itself once a second.
2018-03-30 10:12:27 -07:00
Chris Cummer
69e0034871 Status and weather refresh on a global interval 2018-03-29 22:26:59 -07:00
Chris Cummer
8a258225c9 Widgetized Status 2018-03-29 18:07:47 -07:00
Chris Cummer
8946e5cf24 Adds in Google Calendar and Weather support (hard-coded right now) 2018-03-28 19:41:38 -07:00