gcal-notify

module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2021 License: GPL-3.0

README

gcal-notify

Google Calendar Notifier service. This service runs in the user session and periodically checks a Google Calendar. Once it finds a notification that is ready to be fired, it will do so via the D-BUS API. This requires a notification daemon, like mako.

Setup

  1. Download API client credentials and copy them to ~/.config/gcal-notify/client-secret.json
  2. Run gcal-notify auth
  3. Configure the calendar ID, see Configuration

Configuration

The location of the configuration file is ~/.config/gcal-notify/config.toml by default. This can be changed via the command line parameter -config.

  • CalendarID: Calendar identifier, typically an email address (required)
  • ClientSecretPath: API credentials file (optional, default=~/.config/gcal-notify/client-secret.json)
  • TokenPath: OAuth2 token file path (optional, default=~/.cache/gcal-notify/token.json)
  • PollInterval: Interval at which the Google Calendar API is polled (optional, default=3m)
  • LookaheadInterval: Longest possible notification duration (optional, default=24h)

Directories

Path Synopsis
Package browser provides utilities for interacting with users' browsers.
Package browser provides utilities for interacting with users' browsers.
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL