You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
are there any plans of supporting Bartender's "API" that apps like ours have implemented so that the menubar item will only be displayed if there is something important to display?
it boils down to two things:
• setting the accessibility value of the menubar item to the numeric value of "important items". presumably the item is hidden of the accessibility value is empty or '0'
• sending global notifications to let menubar manager apps know when the value changes
here is how we've implemented that API:
I wasn't aware that Bartender had this, but yes, we should be able to do that. It will, of course, have to wait until triggers are ready to be implemented (#62)
jordanbaird
changed the title
[Feature Request]: automatically hide or show items based on whether they have something important to display
[Feature Request]: Custom trigger API for applications to implement
Jun 12, 2024
Description
are there any plans of supporting Bartender's "API" that apps like ours have implemented so that the menubar item will only be displayed if there is something important to display?
it boils down to two things:
• setting the accessibility value of the menubar item to the numeric value of "important items". presumably the item is hidden of the accessibility value is empty or '0'
• sending global notifications to let menubar manager apps know when the value changes
here is how we've implemented that API:
in our case (MacUpdater) this has resulted in the menubar item being shown when there are updates-to-install but hidden if all apps are up-to-date.
obviously the notification name can/should be changed to something more vendor-neutral
Screenshots
No response
The text was updated successfully, but these errors were encountered: