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

18 Commits

Author SHA1 Message Date
Chris Cummer
e195453573 Use explicit documentation paths for modules that are nested into subdirectories
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-11-26 23:18:46 -08:00
Chris Cummer
d6a0797bf2 Simplify the inclusion of the Common config settings into each module
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-11-26 23:18:46 -08:00
Adriano
216124437a
Add event end time to gcal module display (#877)
* Add event end time to gcal module display

* Add settings for showing end time and add test coverage

* go mod tidy
2020-04-23 05:32:59 -07:00
Chris Cummer
cc169f1674
WTF-33 gcal 'showAllDay' option added (#804)
When true, all-day events are displayed. When false, all-day
events are not displayed.

Defaults to true.

Closes #733

Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-12-30 22:25:10 -05:00
Chris Cummer
d88b3ebaac
Google Calendar subheading now obey global subheading color (#798)
This can still be over-written by setting:

```
   gcal:
      colors:
        day: "orange::b"
```
explicitly in your gCal configuration.

Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-12-17 21:39:49 -08:00
Chris Cummer
7c2d6b4c42 WTF-665 Add time format setting for gCal module
Allows the user to specify either "12" or "24" to set whether or not to
display times in AM/PM format or 24-hour format.

Example:

      gcal:
        enabled: true
        timeFormat: "12"
        refreshInterval: 360

Fixes #665
2019-10-01 21:37:03 -07:00
Chris Cummer
bf877f5fa7 Constantize the defaultFocus value for each module 2019-09-22 18:12:29 -07:00
Indradhanush Gupta
1ce29f4930 modules/gcal: Add property colors.eventTime
This will let the user set a fixed color for the event time
irrespective of colors used in highlights.
2019-09-18 02:18:21 +05:30
Chris Cummer
2c673ae616 WTF-611 Fix gCal color highlighting 2019-09-06 03:32:45 -07:00
mikkeljuhl
869269c4e8 [Google Calendar]: Calendar Read Level 2019-08-30 19:36:51 +02:00
Chris Cummer
2a944b3f0a Use 'timezone' instead of 'timeZone' for the gCal setting name. More colloquial 2019-07-05 21:39:38 -07:00
Hossein Mehrabi
6ec608f539 remove default time zone 2019-07-05 15:33:09 +04:30
Hossein Mehrabi
404453cadd added time zone configuration support to gcal module. 2019-07-05 11:24:35 +04:30
Sean Smith
5f57edb212 Even more help settings
Blitz through g
Clean up a setting that no longer exists for gcal
2019-07-04 11:40:53 -04:00
Sean Smith
14abd422b2 Add default titles, to mimic original behavior
Have the modules set their own titles
If no title is specified, use this title, rather than default to name
2019-04-30 23:38:37 -04:00
Sean Smith
5abd701b40 Decouple modules from global config
Rather than referencing wtc.Config, instead pass the global config
Also, look up config for the module early and pass that in sooner, to deal with fewer long paths and get rid of the
ConfigKey variable
2019-04-27 22:26:23 -04:00
Chris Cummer
b50c762dab WTF-400 Move name and configKey values from widget to settings 2019-04-17 17:16:26 -07:00
Chris Cummer
12a895b9df WTF-400 GCal extracted to new config format 2019-04-15 10:05:57 -07:00