zoom-calendar.alfredworkflow
zoom-calendar.alfredworkflow copied to clipboard
Use a specific calendar
Not really an issue, but thought I'd document this.
I was able to focus this workflow to use a specific calendar, namely my work calendar. [email protected]
with a small modification:
---
zoom.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zoom.rb b/zoom.rb
index d9112e2..05c7151 100755
--- a/zoom.rb
+++ b/zoom.rb
@@ -25,7 +25,7 @@ end
# -po title,datetime,location,url,notes sets field order
# -iep title,datetime,location,url,notes sets what fields to retrieve
# eventsToday+2 shows "now plus two days"
-output = `/usr/local/bin/icalbuddy -ea -n -b '* ' -nnr " " -ps "|\\n|" -po title,datetime,location,url,notes -iep title,datetime,location,url,notes eventsToday+2 2>&1`
+output = `/usr/local/bin/icalbuddy -ea -n -ic '[email protected]' -b '* ' -nnr " " -ps "|\\n|" -po title,datetime,location,url,notes -iep title,datetime,location,url,notes eventsToday+2 2>&1`
error(output) if $? != 0
events = output.split(/^\* /)[1..-1] || []
--
2.27.0