Scripts, user units and hooks moved to system paths, the xmobar script as calcurse-xmobar with colour options, and expiry detection that also catches the first invalid_grant failure.
17 lines
549 B
Plaintext
17 lines
549 B
Plaintext
# calcurse-caldav config for Google Calendar: copy to ~/.config/calcurse/caldav/config (mode 600).
|
|
[General]
|
|
Binary = calcurse
|
|
Hostname = apidata.googleusercontent.com
|
|
Path = /caldav/v2/YOUR_ADDRESS@gmail.com/events/
|
|
AuthMethod = oauth2
|
|
SyncFilter = cal
|
|
DryRun = No
|
|
Verbose = No
|
|
|
|
[OAuth2]
|
|
ClientID = YOUR_CLIENT_ID.apps.googleusercontent.com
|
|
ClientSecret = YOUR_CLIENT_SECRET
|
|
Scope = https://www.googleapis.com/auth/calendar
|
|
# calcurse-relogin listens here for the login redirect: keep it http://127.0.0.1:<port>
|
|
RedirectURI = http://127.0.0.1:8749
|