-
Notifications
You must be signed in to change notification settings - Fork 119
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
Initial layer-indicator support #13
base: main
Are you sure you want to change the base?
Conversation
…ring in between modifier keys. This was causing things like "cursor layer then right arrow" to sometime have a modifier applied to the right arrow, since the macro apparently doesn't finish before the arrow key is sent.
…it is disables the indicator functionality it runs identical to the old behavior
Thanks for contributing this! ️❤️ I will review it when I get some time. 🧗 In the meantime, it would be helpful to get more users from the community to help test it and provide feedback. Also, I would like to expand this to support all 3 OS'es in the future. |
1e21101
to
feb618f
Compare
18ad3c8
to
47ea40e
Compare
Hey @twadzins, I've updated this patch to the latest v38 release and did some minor additional refactoring in my branch: https://github.com/sunaku/glove80-keymaps/tree/layer-indicator Would it be possible to bundle the layer map diagrams into the ZIP file for offline usage? Currently the preset appears to load them from GitHub, which requires an internet connection. |
9e70712
to
7f5f731
Compare
This is exactly what I've been looking for. 👍 Regarding extending this to Linux: sxhkd might not be a good choice. It only runs under X11, no Wayland support. For Wayland this is more complicated as Wayland's security model doesn't allow this. On Wayland the compositor would need to support this. So, one needs separate solutions for each Desktop Environment. Another way of doing this would be to run a tiny daemon that acts lower level (evdev?) that is before key strokes even reach the display manager. This way, it works on both Wayland and X11. Some input remapping tools do it this way. I couldn't find one that allows running arbitrary commands though... So maybe one could write a tiny daemon that reacts to those key presses and sends events through DBus to a desktop client. Starting points: |
Pointer to discord thread: https://discord.com/channels/877392805654306816/1221190895806709911
This code does the following: