koekeishiya / skhd

Simple hotkey daemon for macOS
MIT License
6.3k stars 210 forks source link

Merge qes into skhd #44

Closed koekeishiya closed 6 years ago

koekeishiya commented 6 years ago

As the API we use for synthesizing keypresses require the process to have accessibility access enabled in Mojave, I'll probably merge that code into skhd itself. Another reason is that the parsing code is identical, and it is not really any overhead for adding this to skhd.

Additionally, this will simplify the process for people that wish to implement a prefix-mode in skhd, as they no longer have to pull down an additional dependency (qes).

koekeishiya commented 6 years ago

implemented on master; same syntax as qes.

# synthesize keypress
skhd -k "cmd + shift - h"

# synthesize text - does not work on Mojave (for now..)
skhd -t "hello, world"