Skip to content

Show each app's Dock badge on its workspace icon #606

Closed

Description

@Jonathanm10

Problem

The Workspaces widget lists the apps of each workspace, but nothing shows which of them wants attention. With the Dock hidden, which is common beside a bar and a tiling window manager, an unread count on Mail or a chat app is only visible by revealing the Dock.

Proposal

A badges property on a Workspaces widget's workspace:

  • "dot" marks each app icon whose Dock icon has a badge.
  • "count" shows the badge's number or text, as 99+ above 99.
  • Omitted: off, as today.

macOS has no API for another app's badge, so StableBar would read the Dock's own tiles through Accessibility, every few seconds and only while a visible bar shows badges. The widget would declare Accessibility on every workspace source, so Settings warns when access is missing.

Two things need a maintainer's OK: the new configuration property, which is additive, and reading the Dock through Accessibility, which uses the permission App menus already asks for and no private API.

Possible today

Not that I found. Nothing in the guide or the examples reads another app's badge, and a script widget would be a widget of its own rather than a mark on the app's icon.

Related

Triaged by Claude Code (Claude Fable 5.2).

Activity

  1. added
    needs-triage
    on Nov 12, 2026
  2. added a commit that references this issue on Nov 12, 2026
    85e7bce
  3. added
    enhancement
    and removed
    needs-triage
    on Nov 13, 2026
  4. stablebar-releases commented on Nov 14, 2026

    @stablebar-releases

    🎉 This issue has been resolved in version 0.15.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementreleased

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions