Open von opened 2 years ago
Exploring the hs.menubar documentation I'm not finding any apparent way to only change the menubar icon when a modifier key is pressed if menu is being displayed. I could see starting a watcher when the menu is created and stopping that watcher when a menu item is selected, but I don't see any way of stopping the watcher if the menu is closed without an item being selected.
So I suspect that explains why the Spoon behaviors as it does with regarding to changing the icon all the time.
EjectMenu's handling of modifiers keys is undocumented and distracting if the menu isn't open: