miro-windows-manager icon indicating copy to clipboard operation
miro-windows-manager copied to clipboard

Can't figure out how to bind to modal

Open tofagerl opened this issue 7 years ago • 1 comments

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?

tofagerl avatar Apr 28 '18 12:04 tofagerl

I did this in my config, check this out.

vbauerster avatar Oct 03 '18 19:10 vbauerster