agzam / spacehammer

Hammerspoon config inspired by Spacemacs
MIT License
556 stars 70 forks source link

The App Switcher not launching some apps anymore #141

Closed agzam closed 2 years ago

agzam commented 2 years ago

It looks like windows.activate-app no longer launching some apps. For certain apps it works, but for some - it doesn't.

It used to work in a way, that if the app is not running, it would try to launch it and then activate its window. Not anymore. Apps like "iTerm2" and "Brave" (browser) not getting found.

It looks like this is an upstream bug in Hammerspoon. Running (hs.application.find "iTerm2") returns nil for me.

agzam commented 2 years ago

After some experimentation, I have found that app-name argument for those apps has to be different. It should be "brave browser" and "iterm". Not sure what has changed, and why it stopped working.