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

43 Commits

Author SHA1 Message Date
Chris Cummer
f1a2f65bf1 Handle cases in which there is no weather data 2018-04-18 10:34:59 -07:00
Chris Cummer
44ccf8e55a First pass at multi-Git repos. Works; no tick marks yet 2018-04-18 09:07:41 -07:00
Chris Cummer
3175b8d9cc Quick run through to add some documentation comments 2018-04-17 15:55:36 -07:00
Chris Cummer
ff9343d89a Weather display into own file 2018-04-17 08:47:56 -07:00
Chris Cummer
47d2a5f42c Can arrow-key through multiple weathers 2018-04-17 08:39:19 -07:00
Chris Cummer
912de2fa11 Can focus/blur widgets (with focus border color) 2018-04-17 04:26:18 -07:00
Chris Cummer
6b4c7a7f5d Return when weather data cannot be read 2018-04-16 06:26:04 -07:00
Chris Cummer
6321182b7e Fetches, stores, and returns multiweather, with ticks marks in display 2018-04-16 03:53:29 -07:00
Chris Cummer
693a04b5e1 Removed a bunch of common boilerplate code from widget initialization 2018-04-15 13:08:17 -07:00
Chris Cummer
84ecf296a5 RefreshedAt moved to the end of the refresh (because that makes more sense, doesn't it?) 2018-04-13 16:14:57 -07:00
Chris Cummer
31e17da358 Hack to fix a unicode rendering issue in iTerm 2018-04-12 18:18:54 -07:00
Chris Cummer
27a267b123 Cleaner config format and added simple_config.yml example 2018-04-10 11:28:48 -07:00
Chris Cummer
aa658db210 Handle offline scenarios for OpsGenie 2018-04-09 09:48:45 -07:00
Chris Cummer
204e3b4032 Gracefully handle weather data outages 2018-04-08 07:35:44 -07:00
Chris Cummer
79bc8216d6 Don't display disabled widgets 2018-04-07 14:36:13 -07:00
Chris Cummer
ae13d52665 Enabled half-measure: widgets won't run if disabled (still need to not display) 2018-04-07 14:20:21 -07:00
Chris Cummer
b4bc6d4509 Remove a ton of duplication around TextView widget creation 2018-04-07 13:55:08 -07:00
Chris Cummer
42734a502c Widget text spacing 2018-04-06 21:55:44 -07:00
Chris Cummer
fd5becd397 Minor config tweaks 2018-04-06 09:58:11 -07:00
Chris Cummer
fb637700b1 Displays Github review requests and PRs 2018-04-05 21:16:55 -07:00
Chris Cummer
71f8fc789f A ton of cleanup around how config is handled and go rountines are executed 2018-04-04 18:02:59 -07:00
Chris Cummer
c3f1d7ee36 Configuration used throughout the app 2018-04-04 15:38:29 -07:00
Chris Cummer
7555ae3b5c Border color on the widgets 2018-04-02 22:09:01 -07:00
Chris Cummer
de7480b221 CenterText function out into utility function 2018-04-02 04:45:46 -07:00
Chris Cummer
278bf583c4 Remove the common refresher() code into BaseWidget 2018-04-02 04:38:55 -07:00
Chris Cummer
f6e7a2c030 WIP Git widget 2018-03-31 20:04:09 -07:00
Chris Cummer
693a05cf43 More sensible timer units 2018-03-31 09:25:42 -07:00
Chris Cummer
a365c1df96 Display firewall status 2018-03-31 09:16:40 -07:00
Chris Cummer
42ce7f4353 Display current wifi network name 2018-03-31 08:17:57 -07:00
Chris Cummer
d82c7692be WIP Security info 2018-03-30 23:38:00 -07:00
Chris Cummer
59197e8d52 Another weather icon 2018-03-30 23:29:47 -07:00
Chris Cummer
b937d64d75 BaseWidget added to start reducing some of the code duplication 2018-03-30 22:29:19 -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
25898dcb24 Sleep-based refresh timer for all widgets (don't judge me, it's temporary) 2018-03-30 09:37:48 -07:00
Chris Cummer
69e0034871 Status and weather refresh on a global interval 2018-03-29 22:26:59 -07:00
Chris Cummer
6cfa0ef632 Widgetized BambooHR 2018-03-29 17:08:57 -07:00
Chris Cummer
c56e99fcec WIP Extending weather to be a self-contained, updatable widget 2018-03-29 13:19:11 -07:00
Chris Cummer
0b86262560 More weather emoji 2018-03-29 03:34:36 -07:00
Chris Cummer
71b0500c6f A bit of intelligence around which weather emoji gets displayed 2018-03-29 02:52:02 -07:00
Chris Cummer
8d7c163d37 Improve display of single-day away? date durations 2018-03-29 02:32:58 -07:00
Chris Cummer
07059749d6 Better weather formatting 2018-03-28 20:19:01 -07:00
Chris Cummer
b424655785 Delete some commented-out code 2018-03-28 19:46:29 -07:00
Chris Cummer
8946e5cf24 Adds in Google Calendar and Weather support (hard-coded right now) 2018-03-28 19:41:38 -07:00