Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save OKsign/856c279392a84add0e355705a18f95e4 to your computer and use it in GitHub Desktop.
Save OKsign/856c279392a84add0e355705a18f95e4 to your computer and use it in GitHub Desktop.
{ "title": "Rules for Karabiner-Elements | Tested Version 12.10.0",
"rules": [
{ "description": "Rules for Karabiner-Elements - Hold a Key to Execute Right Click Menu Item",
"manipulators": [
{"from": { "key_code": "my_key" },
"parameters": {"basic.to_if_alone_timeout_milliseconds": 300,
"basic.to_if_held_down_threshold_milliseconds": 500},
"to_if_alone": [
{"key_code": "my_key"
}],
"to_if_held_down":[
{
"pointing_button": "button2"
}
],
"type": "basic",
"conditions": [
{
"type": "frontmost_application_if",
"bundle_identifiers": [
"^net\\.telestream\\.screenflow9$"
]
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment