From f1635019757891c38d5c8acdd12e8c774bb5de68 Mon Sep 17 00:00:00 2001
From: Chris Cummer
Date: Tue, 19 Jun 2018 15:27:11 -0700
Subject: [PATCH] Add documentation for GCal multiCalendar support
---
_site/content/posts/modules/gcal.md | 6 ++++++
docs/index.xml | 2 +-
docs/posts/index.xml | 2 +-
docs/posts/modules/gcal/index.html | 6 ++++++
4 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/_site/content/posts/modules/gcal.md b/_site/content/posts/modules/gcal.md
index 03593431..a0bcd9ec 100644
--- a/_site/content/posts/modules/gcal.md
+++ b/_site/content/posts/modules/gcal.md
@@ -44,6 +44,7 @@ gcal:
email: "chriscummer@me.com"
enabled: true
eventCount: 12
+ multiCalendar: true
position:
top: 0
left: 0
@@ -105,6 +106,11 @@ Values: `true`, `false`.
The number of calendar events to display.
Values: A positive integer, `0..n`.
+`multiCalendar`
+Whether or not to display your primary calendar or all calendars you
+have access to.
+Values: `true`, or `false`
+
`position`
Where in the grid this module's widget will be displayed.
diff --git a/docs/index.xml b/docs/index.xml
index 95f2bbf6..0de7b70f 100644
--- a/docs/index.xml
+++ b/docs/index.xml
@@ -306,7 +306,7 @@ trello:board:Mainenabled:truelist:["Todo","Done"
Not: Setting up access to Google Calendars for Go is a bit unobvious. Check out Google’s Go Quickstart first and if you have problems, then take a look at this comment by WesleydeSouza which offers a slightly different approach.
Source Code wtf/gcal/ Required ENV Variables None.
Keyboard Commands None.
-Configuration gcal:colors:title:"red"description:"lightblue"highlights:-['1on1|1\/11','green']-['apple|google|aws','blue']-['interview|meet','magenta']-['lunch','yellow']past:"gray"conflictIcon:"🚨"currentIcon:"💥"displayResponseStatus:trueemail:"chriscummer@me.com"enabled:trueeventCount:12position:top:0left:0height:4width:1refreshInterval:300secretFile:"~/.wtf/gcal/client_secret.json"withLocation:true Attributes colors.title The default colour for calendar event titles. Values: Any X11 color name.
+Configuration gcal:colors:title:"red"description:"lightblue"highlights:-['1on1|1\/11','green']-['apple|google|aws','blue']-['interview|meet','magenta']-['lunch','yellow']past:"gray"conflictIcon:"🚨"currentIcon:"💥"displayResponseStatus:trueemail:"chriscummer@me.com"enabled:trueeventCount:12multiCalendar:trueposition:top:0left:0height:4width:1refreshInterval:300secretFile:"~/.wtf/gcal/client_secret.json"withLocation:true Attributes colors.title The default colour for calendar event titles. Values: Any X11 color name.
-
diff --git a/docs/posts/index.xml b/docs/posts/index.xml
index 12f24d41..8b9725b0 100644
--- a/docs/posts/index.xml
+++ b/docs/posts/index.xml
@@ -306,7 +306,7 @@ trello:board:Mainenabled:truelist:["Todo","Done"
Not: Setting up access to Google Calendars for Go is a bit unobvious. Check out Google’s Go Quickstart first and if you have problems, then take a look at this comment by WesleydeSouza which offers a slightly different approach.
Source Code wtf/gcal/ Required ENV Variables None.
Keyboard Commands None.
-Configuration gcal:colors:title:"red"description:"lightblue"highlights:-['1on1|1\/11','green']-['apple|google|aws','blue']-['interview|meet','magenta']-['lunch','yellow']past:"gray"conflictIcon:"🚨"currentIcon:"💥"displayResponseStatus:trueemail:"chriscummer@me.com"enabled:trueeventCount:12position:top:0left:0height:4width:1refreshInterval:300secretFile:"~/.wtf/gcal/client_secret.json"withLocation:true Attributes colors.title The default colour for calendar event titles. Values: Any X11 color name.
+Configuration gcal:colors:title:"red"description:"lightblue"highlights:-['1on1|1\/11','green']-['apple|google|aws','blue']-['interview|meet','magenta']-['lunch','yellow']past:"gray"conflictIcon:"🚨"currentIcon:"💥"displayResponseStatus:trueemail:"chriscummer@me.com"enabled:trueeventCount:12multiCalendar:trueposition:top:0left:0height:4width:1refreshInterval:300secretFile:"~/.wtf/gcal/client_secret.json"withLocation:true Attributes colors.title The default colour for calendar event titles. Values: Any X11 color name.
-
diff --git a/docs/posts/modules/gcal/index.html b/docs/posts/modules/gcal/index.html
index d3f4dac0..ed7fb6c0 100644
--- a/docs/posts/modules/gcal/index.html
+++ b/docs/posts/modules/gcal/index.html
@@ -155,6 +155,7 @@ first and if you have problems, then take a look at this email: "chriscummer@me.com"
enabled: true
eventCount: 12
+ multiCalendar: true
position:
top: 0
left: 0
@@ -214,6 +215,11 @@ Values:
true
, false
.
The number of calendar events to display.
Values: A positive integer, 0..n
.
+multiCalendar
+Whether or not to display your primary calendar or all calendars you
+have access to.
+Values: true
, or false
+
position
Where in the grid this module’s widget will be displayed.