Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I am trying to find an alternative to AutoKey for keyboard macros. I've seen some suggest sxhkd combined with xdotool, which is what I'm trying here. I want to implement macros whereby when I press alt + j,i,k,l it simulates left,up,down,right arrow keys respectfully. I have the contents of ~/.config/sxhkd/sxhkdrc as:
I am trying to find an alternative to AutoKey for keyboard macros. I've seen some suggest sxhkd combined with xdotool, which is what I'm trying here. I want to implement macros whereby when I press alt + j,i,k,l it simulates left,up,down,right arrow keys respectfully. I have the contents of ~/.config/sxhkd/sxhkdrc as:
I found This github issue thread that says a workaround is to "pass the synthetic event directly to a specific window." and gives the following example:
This is an example of what you want: https://github.com/rvaiya/keyd/blob/master/examples/nav-layer.conf