Skip to content

Commit

Permalink
Default new option to false, update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
baustinanki authored and Chris Cummer committed Aug 1, 2018
1 parent f1bbd85 commit 090c4e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions _site/content/posts/modules/gcal.md
Expand Up @@ -122,3 +122,6 @@ Values: A positive integer, `0..n`.
Your <a href="https://developers.google.com/calendar/quickstart/go">Google client secret</a> JSON file. <br />
Values: A string representing a file path to the JSON secret file.

`showDeclined` <br />
Whether or not to display events you've declined to attend. <br />
Values: `true`, or `false`
2 changes: 1 addition & 1 deletion gcal/display.go
Expand Up @@ -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)
}

Expand Down

0 comments on commit 090c4e7

Please sign in to comment.