Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Show Notification Badges #11

Open
brijazz opened this issue Aug 27, 2021 · 8 comments
Open

Feature Request: Show Notification Badges #11

brijazz opened this issue Aug 27, 2021 · 8 comments

Comments

@brijazz
Copy link

brijazz commented Aug 27, 2021

Having the icons show notification badges (much as they do in the standard system Dock) would be fantastic!

@stavfx
Copy link

stavfx commented Jan 24, 2022

Is this technically feasible? I'd love to see this feature. The only reason I keep the dock visible is for the notification badges

@EthanSK
Copy link
Owner

EthanSK commented Jan 25, 2022

If you can find me an official apple api to get notifications then sure

@stavfx
Copy link

stavfx commented Jan 25, 2022

I don't know the first thing about macos development, so I don't know if it's possible to get a handle on another app's NSApplication object or how. But if it is possible, looks like NSApplication.dockTile.badgeLabel is what we're interested in.

https://developer.apple.com/documentation/appkit/nsdocktile/1524433-badgelabel

@brijazz
Copy link
Author

brijazz commented Jan 25, 2022 via email

@stavfx
Copy link

stavfx commented Jan 25, 2022

oh wow this is great, I hacked this into a simple script together with xbar (https://xbarapp.com/) and this does exactly what I need.
Not as pretty as this project tho :)

@fenneclabs
Copy link

oh wow this is great, I hacked this into a simple script together with xbar (https://xbarapp.com/) and this does exactly what I need. Not as pretty as this project tho :)

Could you share your script please :)

@bauerp
Copy link

bauerp commented Aug 6, 2022

I'm no developer but you may be able to look at the source code for the app "Doll", which has the red badge count option: https://github.com/xiaogdgenuine/Doll

@fenneclabs
Copy link

I'm no developer but you may be able to look at the source code for the app "Doll", which has the red badge count option: https://github.com/xiaogdgenuine/Doll

thx, I'll use Doll app instead!

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

No branches or pull requests

5 participants