Closed introom closed 8 years ago
@introom: Great question. We actually need two different "keys" so we don't conflict when the event hits. That particular line is setting up a toggle for the sub-modal. Basically we want something unused and not conflicting with the key set up in the karabiner file.
The whole thing is overly complex, honestly. I hope karabiner-elements can catch up in functionality.
Got it. Thanks for your reply.
Hi.
I don't quite understand why you bind to the key F17 instead of F18 in here:
k = hs.hotkey.modal.new({}, "F17")
All the remaining in the init.lua file deals with F18.