Targeting a hidden menubar with Wooshy #129
jannis-baum
started this conversation in
Show and tell
Replies: 1 comment 4 replies
-
AWW. but also, would be nice to have this natively from Wooshy right? will see what i can do. there was a similar issue about the Dock, but it happened to be undoable properly (the Dock is an app that you have to kill after you've made the change, and it broke some other stuff). could be nice to see if this is doable properly for the menu bar! do you mind opening an issue for this? thanks :)) |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have my macOS menubar set to be hidden by default, meaning it only shows when I move the mouse cursor to the top of the screen. For the longest time, needing to click something on the right side of the menubar was a major reason I had to use an actual mouse since there is no way to make the menubar appear without a mouse1.
Now I found a solution with Hammerspoon and Karabiner Elements deep down the rabbit hole. The basic idea is to
Showing the menubar with HS
I set up a URL event at
hammerspoon://mouseToMenubar
that will move the mouse up, revealing the menubar. You can add the following to your~/.hammerspoon/init.lua
:Showing the menubar before starting Wooshy
I use a simultaneous press of
i
andu
to open Wooshy with menubar access, and have my Wooshy hotkey in its preferences set tocommand+f8
, so this is what I'll use in the example. Furthermore, I'll use goku, which provides more concise.edn
syntax over Karabiner's.json
. Add the following to your~/.config/karabiner.edn
:With this set up, we can already use Wooshy on the right-side items of our normally hidden menubar🥳
Hiding the menubar after Wooshy-ing
Sometimes we don't click anywhere and just exit Wooshy after opening it; in this case it's useful to move the mouse back down to make the menubar disappear again. Add the following to your
~/.hammerspoon/init.lua
:Footnotes
other than
cmd+shift+/
, which will bring up the search for the left side of the menubar, but doing this will make the entire menubar disappear as soon as Wooshy takes focus so we still can't access anything on the right side :( ↩Beta Was this translation helpful? Give feedback.
All reactions