Open menicosia opened 4 years ago
Huh. It's only partially working. When trying to use the key bindings while focused on the Hammerspoon console:
2020-01-31 16:22:31: Lunette: rightHalf
2020-01-31 16:22:31: function: 0x60000297b0f0
2020-01-31 16:22:31: Lunette: rightHalf
2020-01-31 16:22:31: function: 0x60000297b0f0
But when focused on an iTerm2 (or nearly any other app) window:
2020-01-31 16:22:39: 16:22:39 ERROR: LuaSkin: hs.hotkey callback: /Users/pivotal/.hammerspoon/Spoons/Lunette.spoon/init.lua:108: attempt to index a nil value (local 'window')
stack traceback:
/Users/pivotal/.hammerspoon/Spoons/Lunette.spoon/init.lua:108: in function 'Lunette.exec'
/Users/pivotal/.hammerspoon/Spoons/Lunette.spoon/init.lua:99: in function </Users/pivotal/.hammerspoon/Spoons/Lunette.spoon/init.lua:98>
Restarting Hammerspoon(!) seemed to fix that issue while running v0.3.1 files (ie comments start with two dashes, not three). My best guess is that Hammerspoon somehow lost OSX Accessibility, but didn't know that.
I'm still quite a bit confused why v0.3.1 files don't seem to match master
- was maybe PR #10 was never merged back to master?
Hey there, I have been wondering why Lunette's last distribution hasn't been loading for me, and I just got some time to investigate. I think maybe something went wrong when packaging this release and attaching to the Github release?
Here's my evidence:
For me, copying from
master
to my.hammerspoon
directory solves the problems created when trying to install fromLunette-0.3.1.tar.gz
.Am I missing something, or is this an actual bug?