asmvik/skhd

Can't access calendar data using icalbuddy

Open

#104 aperta il 17 dic 2019

Vedi su GitHub
 (5 commenti) (0 reazioni) (0 assegnatari)C (243 fork)github user discovery
help wantedquestion

Metriche repository

Star
 (7990 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

I'm trying to use icalBuddy to get the current calendar event (icalBuddy eventsNow), but icalBuddy reports:

error: No calendars.

That's not correct, though, and doesn't match what I get running it from iTerm. That's probably because i'm on Mojave, and when I run it from iTerm (the first time), I'm prompted to allow iTerm to access my calendars, which I've allowed. But when I run it from skhd, I never get prompted, and there doesn't appear to be a way to manually add it.

Is there a trick to enabling this permission for skhd, which I think will fix the problem?

Guida contributor