miro-windows-manager
miro-windows-manager copied to clipboard
Can't figure out how to bind to modal
I'm not good at lua, and can't figure out how to bind to a modal keybind I call dot. Neither of these work:
dot = hs.hotkey.modal.new({"cmd", "shift"}, '.')
spoon.MiroWindowsManager:bindHotkeys({
up = dot:bind('', 'up')
down = {dot, "up"}
})
Is there some other way, or do I have to fork and change the actual spoon to make it work?