Created
September 21, 2020 04:12
-
-
Save rinsuki/d0f216ffbb59e372e5f9b900304d581c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Swap Left Command and Left Ctrl in TeamViewer", | |
"rules": [ | |
{ | |
"description": "Swap Left Command and Left Ctrl in TeamViewer", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_gui" | |
}, | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"^com\\.teamviewer\\.TeamViewer$" | |
] | |
} | |
], | |
"to": [ | |
{ | |
"key_code": "left_control" | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_control" | |
}, | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"^com\\.teamviewer\\.TeamViewer$" | |
] | |
} | |
], | |
"to": [ | |
{ | |
"key_code": "left_gui" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Swap Ctrl+Tab and Cmd+Tab", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "tab", | |
"modifiers": { | |
"mandatory": [ | |
"left_gui" | |
] | |
} | |
}, | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"^com\\.teamviewer\\.TeamViewer$" | |
] | |
} | |
], | |
"to": [ | |
{ | |
"key_code": "tab", | |
"modifiers": [ | |
"left_control" | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "tab", | |
"modifiers": { | |
"mandatory": [ | |
"left_control" | |
] | |
} | |
}, | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"^com\\.teamviewer\\.TeamViewer$" | |
] | |
} | |
], | |
"to": [ | |
{ | |
"key_code": "tab", | |
"modifiers": [ | |
"left_gui" | |
] | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment