Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't figure out how to bind to modal #4

Open
tofagerl opened this issue Apr 28, 2018 · 1 comment
Open

Can't figure out how to bind to modal #4

tofagerl opened this issue Apr 28, 2018 · 1 comment

Comments

@tofagerl
Copy link

tofagerl commented Apr 28, 2018

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?

@vbauerster
Copy link

vbauerster commented Oct 3, 2018

I did this in my config, check this out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants