Repository navigation
Description
Problem
A calendar widget reads every calendar. Limiting it to some of them means editing config.json by hand: define a provider named calendar under providers and list the calendars in calendars, typed exactly as Calendar shows them. Customize has no control for it:
- Customize → Widgets: a widget's Content section offers the clock format, text, Workspaces' Show each window and App menus' Expand on hover, but nothing for calendar widgets.
- Customize → Packages: the published
calendar-agenda1.0.0 declares no settings, so there is nothing to show there either.
Calendar names are easy to get wrong (a Google calendar is often named after the account's email address), and a name that matches nothing filters out every event without any error: the widget just shows No meetings.
Proposal
- In Customize → Widgets, a calendar widget (
"type": "calendar", or aproviderwidget whose provider has"type": "calendar") gets a Calendars control in Content: the calendars EventKit returns, grouped by account, each with a checkbox, and All calendars selected by default. - Choosing calendars writes the provider's
calendarsthrough the usual configuration edits, with Undo. A widget that names the type editsproviders.calendar, which every widget naming the type shares, so the control says it applies to all of them. A provider widget edits its own provider. Selecting All calendars removescalendars. - Without Calendars access, the control shows the access state and links to System Settings → Privacy & Security → Calendars instead of the list.
- Names in
calendarsthat match no calendar stay listed as missing, so they can be removed. - Matching stays by title, as today. Calendars with the same title in different accounts still match together; storing EventKit identifiers would separate them but makes configurations less portable between Macs.
The same section could later hold lookahead, soon and now, and #64's today-only option. DataSourceRegistry.calendar already lists them as the source's optionalSettings (Sources/StableBar/DataSourceRegistry.swift), so the editor could build provider settings from the registry instead of special-casing calendars.
Possible today
Partly, by editing the configuration file (README, "Providers": "Define a provider with the same name to change its interval or other settings", and "Calendar"):
"providers": {
"calendar": { "type": "calendar", "calendars": ["Work", "Personal"] }
}StableBar --validate accepts it, but cannot check the names: the provider compares them with EKCalendar.title at runtime (Sources/StableBar/NativeMetrics.swift, provider.calendars.contains($0.calendar.title)). Checked on main b57aacb.
Related
- Add a calendar provider for the next meeting and today's agenda #18 and feat: add a calendar provider for the next meeting and today's agenda #25 added the calendar provider and its
calendarssetting, without a Customize control. - Add a today-only option for the calendar widget #64 asks for a today-only option and suggests exposing it in
calendar-agendapackage settings; a calendar section in Customize would cover widgets added without the package too. - No duplicate found in issues or pull requests (calendar picker, calendar settings, choose calendars, select calendars, calendar names, provider settings, lookahead).
Triaged by Claude Code (Claude Opus 5.5).
Activity
stablebar-releases commentedon Nov 20, 2026
🎉 This issue has been resolved in version 0.18.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀