-
Notifications
You must be signed in to change notification settings - Fork 160
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
Setting background colors using non-QWERTY keyboard #21
Comments
Interesting, hadn't thought about that. Let me look into it! |
|
OR... the ALT key would work. For example, Alt-1 and Alt-2 look like '1[' and '2[' to the curses 'get character' function. These would map correctly on any keyboard. The only problem is that people might have these combinations already set to do something in their window manager or terminal... |
These are some valuable thoughts! I like the g/f cycling option very much (I think few remember what key maps to whichever color anyways). And using the Alt key might indeed interfer with some peoples workflow (I think gnome-terminal uses Alt-; people could have it as their WM modifier etc...) Maybe use c/C key for cycling however, because f toggles flashers? Do you want me to do a PR? |
The keys for switching background color are based on the QWERTY-layout:
unimatrix/unimatrix.py
Lines 508 to 525 in cd04928
For me (QWERTZ-user), the corresponding row is
!"§$%&/()
. Is it easy to detect the actual ID of the key being pressed rather than the symbol mapped to it? Expanding the current mapping does not make sense because f.i.(
is on the German 8 but on the English 9.Anyways, not a big deal because I probably won't be switching colors all day long.
The text was updated successfully, but these errors were encountered: