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

14 Commits

Author SHA1 Message Date
Indradhanush Gupta
9e2bc00b15 modules/gcal: Use colors.eventTime for timestamp of event
Color of description should not change the color of event time. This
commit uses the independent setting color.eventTime instead. This
defaults to "white" and is consistent with the current behaviour when
a value for colors.description is not set.

Fixes #638
2019-09-18 02:18:22 +05:30
Chris Cummer
2c673ae616 WTF-611 Fix gCal color highlighting 2019-09-06 03:32:45 -07:00
Sean Smith
8835f532cc Refactor a number of widgets to display client errors
Rather than swallowing or crashing, display appropriate errors
2019-09-01 13:19:07 -04:00
Sean Smith
14e7619075 Renormalize the redraw function
Have all instances take a function
Update the remaining modules to take this into account
Numerous smaller refactors to make some widgets work more or less the same
2019-08-27 21:51:37 -04:00
Sean Smith
3a716bcf9a Convert the bulk of modules over to RedrawFunc 2019-08-26 23:07:02 -04:00
Chris Cummer
4e46fff145 Move the utils.go file into the /utils directory 2019-08-05 10:50:12 -07:00
Kirill Motkov
f0771cd013 Some code improvements
* Some assignments simplified by using assignment operators
* Rewrite switch statement with only one case as if.
* Rewrite if-else chain as a switch statement.
* go fmt `modules/todoist/project.go` file.
2019-05-21 17:29:09 +03:00
Sean Smith
018d2af3ae Add a global Redraw method for TextWidget
Partially addresses #429, by centralizing widget drawing
2019-05-10 08:42:37 -07:00
Graham Anderson
a53593f8c6 fix(gcal): remove possible extraneous variation codepoint 2019-05-08 18:50:15 +01:00
Chris Cummer
d77415783a Remove the unnecessary mutex from gcal 2019-05-07 21:58:12 -07:00
Chris Cummer
79733145f4 Gcal widget properly renders title again 2019-04-19 19:10:22 -07:00
Chris Cummer
12a895b9df WTF-400 GCal extracted to new config format 2019-04-15 10:05:57 -07:00
Chris Cummer
aa313bdaa4 WTF-389 Log an exception and terminate if widget config is invalid
If, on startup, a widget's positional configuration is invalid (ie:
cannot be displayed onscreen) then terminate the app and inform about
which widget is erroring
2019-04-12 05:29:44 -07:00
Sean Smith
8030380f89 Migrate all modules to their own subfolder
Handles #375
2019-02-18 11:16:34 -05:00