Initial import of the calcurse Google Calendar sync from the dotfiles
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.
This commit is contained in:
17 files changed
+1077
No files matched your search
@@ -0,0 +1,16 @@
|
||||
# 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
|
||||
Reference in new issue
Block a user