koekeishiya / meraki

Global shortcuts for macOS (coming soon™)
MIT License
60 stars 1 forks source link

reserved #1

Open koekeishiya opened 1 year ago

kola-web commented 1 year ago

Is this used to replace skhd?

koekeishiya commented 1 year ago

There will not be feature parity, so replace is probably the wrong word. But this is what I will be using personally in the future.

DennisFeldbusch commented 1 year ago

What does this mean? What will meraki make better? (Can't wait for it 👍 )

koekeishiya commented 1 year ago

Current reference for the implementation: https://github.com/koekeishiya/meraki/blob/master/examples/merakirc

wtf403 commented 1 year ago

😻With the ability to make keybindings for specific apps only, this will be an excellent replacement for karabiner

koekeishiya commented 5 months ago

This project will take a different direction altogether. Forget everything that has been said about this so far. This will go back to early kwm days if anyone still remembers, when hotkeys were defined in a hotloadable C module.

The motivation is to get rid of unnecessary delay for certain operations, by allowing hotkeys to run functionality written directly in C. This will not be very different in practice from software that exposes Lua / JS environments in which the user supplies scripts/snippets that the core software executes through various hooks.

e.g. interfacing with yabai from such a system will remove the fork-exec overhead completely, which amounts to roughly 50% of time spent for most command invocation in todays skhd -> yabai pipeline.

I get the impression that people might be intimidated by C, compared to Lua/JS /\ for these purposes, but it is not really any different when the software is designed well.