Struct GcalcliConfig
Defined in File types.hpp
Struct Documentation
-
struct GcalcliConfig
Configuration for gcalcli client.
Public Members
-
std::string gcalcli_path = "gcalcli"
Path to gcalcli executable (default: “gcalcli” from PATH)
-
std::optional<std::string> config_folder
Optional config folder for gcalcli (if not using default)
-
std::vector<std::string> calendars
Calendars to monitor (empty = all calendars)
-
std::chrono::seconds poll_interval = {30}
How often to poll for agenda updates.
-
std::chrono::seconds heartbeat_interval = {60}
How often to check connection health (heartbeat)
-
int agenda_days = 7
Number of days ahead to fetch in agenda.
-
int max_consecutive_failures = 3
Number of consecutive failures before connection is considered lost.
-
std::string gcalcli_path = "gcalcli"