Chris Cummer
f7d99c5eff
Don't trim whitespace from beginning of widget
...
Some widgets format the output using whitespace padding
at the beginning.
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-10-06 20:00:50 -07:00
Chris Cummer
ef71ad2ced
WTF-658 Clocks obeys global row color settings
...
Fixes #658 .
2019-10-02 05:43:16 -07:00
Chris Cummer
db5d50c9af
Set the text wrap of the clocks module to false
2019-08-30 03:24:18 -07: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
Chris Cummer
b07f3c5e67
Reimpliments the module configuration validation
...
Now supports displaying errors from multiple widgets.
2019-07-07 16:04:43 -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
42821b3102
Clean up drawing functionality
...
Fix up a bunch of missed places that can use the standardized `Redraw` method
2019-05-11 12:11:26 -04:00
Chris Cummer
075402315e
Fix missing title in Clocks
2019-05-10 08:42:37 -07:00
Chris Cummer
37356679cc
WTF-400 Clocks extracted to new config format
2019-04-15 10:05:57 -07:00
Sean Smith
8030380f89
Migrate all modules to their own subfolder
...
Handles #375
2019-02-18 11:16:34 -05:00