Closed wannafedor4 closed 5 months ago
This definitely can be done with Hammerspoon's hs.application:getMenuItems
, for a relatively simple implementation
There are also C APIs (which Hammerspoon provides a Lua wrapper around) that can be used to directly integrate this into Sketchybar, but I'm not sure if it's necessary.
Also, Menuwhere (paid) includes basically the feature you're requesting.
Paletro (paid), and Raycast (free) have this feature, but in a different UI.
This definitely can be done with Hammerspoon's hs.application:getMenuItems, for a relatively simple implementation
There are also C APIs (which Hammerspoon provides a Lua wrapper around) that can be used to directly integrate this into Sketchybar, but I'm not sure if it's necessary.
I'll look into this...
I know that there has probably been a few trillion of these issues, but I have an idea for how it could work.
The problem
So this is how accessing menu items works right now... Absolutely disgusting I know
A sixty-fourth-baked solution
When you click
front_app
, it should show the global menu items. I don't know C, so I don't know how to do this in the code. I can, however, make an example config:Which in english is just assigning the global menu to an item
sketchybar --globalmenu <item>