How can I map the Any key to an actual character. #177
-
In trying to clean up my leftwm key bindings I have been using keymapper. I'm curious if the following can be done. Currently I have the following mapping set up.
I would like to set this up as follows
However the Any translates to a key scan code not to a character. Is there a way to translate the Any key to the actual character |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 3 replies
-
This unfortunately won't work since |
Beta Was this translation helpful? Give feedback.
-
This is my sendWindowToTag function
|
Beta Was this translation helpful? Give feedback.
-
Is that same as "Move the focused window to desktop/tag" mentioned here lefwm keybindings? If it is, you could then get away by making use of the WM's keybindings:
Is this what really happens? When I tried this by just making the macro print |
Beta Was this translation helpful? Give feedback.
-
Yes, right, but I think you meant:
`Shift{Numbers} >> Mod{Shift{Any}}`
Is this what really happens? When I tried this by just making the macro print $0 to a log file, the only thing that got logged was the string "Any".
This is also what I would have expected.
|
Beta Was this translation helpful? Give feedback.
-
Actually I have disabled leftwm key processing in favor of keymapper. That is where the leftwm-command program comes in. I maybe over thinking the problem and can stick to the the current way I am doing it. Thanks for your help. I love the way that keymapper works. I can keep all of my keybindings in one place and move them to multiple systems. |
Beta Was this translation helpful? Give feedback.
-
There is now a more fun way for doing it. I added a builtin function apply[Shift{$0} >> sendWindowToTag[$0], 1, 2, 3, 4, 5, 6, 7, 8, 9] If the expression has multiple arguments, like: addMapping = $0 >> $1
apply[addMapping, A, B, C, D] it generates |
Beta Was this translation helpful? Give feedback.
-
This is wonderful. Just got a chance to get the latest down and compiled. Thank you for doing this. |
Beta Was this translation helpful? Give feedback.
This is wonderful. Just got a chance to get the latest down and compiled. Thank you for doing this.