Created
October 20, 2022 17:13
-
-
Save catherineomega/81ddc2dc75d69e700c41d884b07f72d6 to your computer and use it in GitHub Desktop.
A Karabiner-Elements 'complex modification' JSON for use with Parsec remote desktop to disable Left-Command-W and Left-Command-Q when connected to a remote Windows computer..
This file contains hidden or 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": "Parsec macOS client, Windows Host", | |
"rules": [ | |
{ | |
"description": "Disable Cmd-W and Cmd-Q in Parsec, but allow Cmd-Tab.", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "q", | |
"modifiers": { | |
"mandatory": [ | |
"left_command" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "q" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"^tv.parsec.www" | |
] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "w", | |
"modifiers": { | |
"mandatory": [ | |
"left_command" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "w" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"^tv.parsec.www" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment