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

Keybindings do not honor layout #62

Closed
nblock opened this issue Nov 14, 2022 · 2 comments
Closed

Keybindings do not honor layout #62

nblock opened this issue Nov 14, 2022 · 2 comments

Comments

@nblock
Copy link

nblock commented Nov 14, 2022

When using an alternative keyboard layout (NEO2), the following (remapped) keys are not recognized in tofi 0.7:

  • ctrl-k
  • ctrl-j
  • ctrl-u
  • ctrl-w

However, pressing the "hardware" keys as defined in QUERTZ works. It seems that the remapping of the keyboard layout is somehow lost.

The alternative keyboard layout is configured in sway as follows:

input type:keyboard {
  xkb_layout de
  xkb_variant neo
}
@MahouShoujoMivutilde
Copy link

This is because tofi uses keycodes instead of keysyms for keybindings, so non latin layouts can use them too.

Discussion: #41 (comment)

@philj56
Copy link
Owner

philj56 commented Nov 15, 2022

Yep, there's no one-size-fits-all solution to this, other than making it customisable. I think the current behaviour is the correct default, but I will look into making keybindings customisable at some point.

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

3 participants