Skip to content

feat: add notification badges widget#503

Open
floatas wants to merge 1 commit intoJean-Tinland:masterfrom
floatas:feature/notification-badges-v2
Open

feat: add notification badges widget#503
floatas wants to merge 1 commit intoJean-Tinland:masterfrom
floatas:feature/notification-badges-v2

Conversation

@floatas
Copy link
Copy Markdown

@floatas floatas commented Mar 20, 2026

Shows the next upcoming calendar event in the bar with time until start and one-click join for video meetings. Uses icalBuddy for fast calendar access with proper recurring event support.

  • Color-coded urgency: cyan (normal) → yellow (≤15 min) → red pulsing (≤5 min)
  • Join button for Zoom, Teams, Google Meet, and Webex
  • Handles Microsoft SafeLinks (Outlook URL protection) automatically
  • Configurable look-ahead window and icalBuddy binary path
  • Auto-hides when no upcoming meetings
  • Requires icalBuddy: brew install ical-buddy
image

Description

Main motivation was to hide Dock - and have quick way to see notifications at work (Teams, outlook), also upcoming meeting.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Have been using these changes for ±3months locally.

Test Configuration:

  • OS version 26.3.1
  • aerospace AeroSpace v0.20.2-Beta 1a8128c53b231bac7e46917468d50b4f15ad30f7
  • Übersicht version 1.6 (82)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas (make use of JSDoc if necessary)
  • My changes generate no new warnings

Changes to make to the documentation

Please list any changes to the documentation that are required to reflect your changes.

Shows macOS dock badge counts (Teams, Slack, Mail, etc.) as inline pills
in the bar. Uses lsappinfo to read StatusLabel from running apps.

- Red pill per app with SVG icon + badge count
- Click pill to open the app
- Integrates with useServerSocket for real-time updates
- Auto-hides when no apps have notifications
- No special permissions required (uses macOS Launch Services API)
@Jean-Tinland
Copy link
Copy Markdown
Owner

Hi! This seems like a fine addition to simple-bar.

Please let me know when this pull request will be ready to be reviewed. Also, would it be possible de fill in the missing information in its description?

Thank you for your work anyway!

@floatas floatas marked this pull request as ready for review March 30, 2026 11:03
@floatas
Copy link
Copy Markdown
Author

floatas commented Mar 30, 2026

Decided to split changes into two chunks - not sure if that will make it easier or not, but yeah, been using this for couple months and I think it's extremely useful :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants