-
Notifications
You must be signed in to change notification settings - Fork 121
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
Functinality to open application; wait n seconds; submit key events #75
Comments
How do you implement the wait 2s in karabiner? |
https://github.com/yqrashawn/GokuRakuJoudo/blob/master/src/karabiner_configurator/rules.clj#L191
I am not familiar with EDN. So if I formatted this wrongly, please do tell! That would be helpful! |
There's nothing wrong in this config. Although it's not work on my mac, it opens firefox and insert a t in the location bar. Does it have the same behavior on your side? |
I am getting this now! IIRC, I didn't encounter this issue earlier because I didn't use hyper key. After fiddling with this, I found that
This is what I came up with {
"to_delayed_action": {
"to_if_invoked": [
{
"key_code": "t",
"modifiers": [
"right_command"
]
},
{
"key_code": "right_command"
}
]
},
"parameters": {
"basic.to_delayed_action_delay_milliseconds": 2000
},
"from": {
"key_code": "e",
"modifiers": {
"mandatory": [
"left_command",
"left_control",
"left_option",
"left_shift"
]
}
},
"to": [
{
"shell_command": "open '/Applications/Firefox.app'"
}
],
"type": "basic"
} How can I write this in EDN? I modified delayed to P.S. |
@MuhammedZakir |
Thanks! It's working now! So you can only use abbreviations such as |
it can be used in |
I want to replicate the setting, which I had in json karabiner config: open browser, wait 2 seconds, open new tab -> for quicker access to search.
So far I've come up with a configuration to open the browser:
{:des "hypr + e -> firefox" :rules [[:!!e "open '/Applications/Firefox.app'"]]}
It is possible to achieve the rest in goku?
The text was updated successfully, but these errors were encountered: