diff --git a/_site/content/posts/modules/gcal.md b/_site/content/posts/modules/gcal.md index 5dbfa014f..f88664813 100644 --- a/_site/content/posts/modules/gcal.md +++ b/_site/content/posts/modules/gcal.md @@ -122,3 +122,6 @@ Values: A positive integer, `0..n`. Your Google client secret JSON file.
Values: A string representing a file path to the JSON secret file. +`showDeclined`
+Whether or not to display events you've declined to attend.
+Values: `true`, or `false` diff --git a/gcal/display.go b/gcal/display.go index d4ceaf9b4..2415f3a03 100644 --- a/gcal/display.go +++ b/gcal/display.go @@ -44,7 +44,7 @@ func (widget *Widget) contentFrom(calEvents []*CalEvent) string { var str string var prevEvent *CalEvent - if !wtf.Config.UBool("wtf.mods.gcal.showDeclined", true) { + if !wtf.Config.UBool("wtf.mods.gcal.showDeclined", false) { calEvents = removeDeclined(calEvents) }