Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "description": "Swap ⌘ and ctrl + conditional disable Control+Arrow in RDP apps",
- "manipulators": [
- {
- "conditions": [
- {
- "bundle_identifiers": [
- "com\\.microsoft\\.rdc$",
- "com\\.microsoft\\.rdc\\.mac$",
- "com\\.microsoft\\.rdc\\.macos$",
- "com\\.microsoft\\.rdc\\.osx\\.beta$",
- "com\\.thinomenon\\.RemoteDesktopConnection$",
- "com\\.teamviewer\\.TeamViewer$",
- "com\\.ericom\\.blazeclient"
- ],
- "type": "frontmost_application_if"
- }
- ],
- "from": {
- "key_code": "left_control",
- "modifiers": { "optional": ["any"] }
- },
- "to": [{ "key_code": "left_command" }],
- "type": "basic"
- },
- {
- "conditions": [
- {
- "bundle_identifiers": [
- "com\\.microsoft\\.rdc$",
- "com\\.microsoft\\.rdc\\.mac$",
- "com\\.microsoft\\.rdc\\.macos$",
- "com\\.microsoft\\.rdc\\.osx\\.beta$",
- "com\\.thinomenon\\.RemoteDesktopConnection$",
- "com\\.teamviewer\\.TeamViewer$",
- "com\\.ericom\\.blazeclient"
- ],
- "type": "frontmost_application_if"
- }
- ],
- "from": {
- "key_code": "left_command",
- "modifiers": { "optional": ["any"] }
- },
- "to": [{ "key_code": "left_control" }],
- "type": "basic"
- },
- {
- "conditions": [
- {
- "bundle_identifiers": [
- "com\\.microsoft\\.rdc$",
- "com\\.microsoft\\.rdc\\.mac$",
- "com\\.microsoft\\.rdc\\.macos$",
- "com\\.microsoft\\.rdc\\.osx\\.beta$",
- "com\\.thinomenon\\.RemoteDesktopConnection$",
- "com\\.teamviewer\\.TeamViewer$",
- "com\\.ericom\\.blazeclient"
- ],
- "type": "frontmost_application_if"
- }
- ],
- "from": {
- "key_code": "right_control",
- "modifiers": { "optional": ["any"] }
- },
- "to": [{ "key_code": "right_command" }],
- "type": "basic"
- },
- {
- "conditions": [
- {
- "bundle_identifiers": [
- "com\\.microsoft\\.rdc$",
- "com\\.microsoft\\.rdc\\.mac$",
- "com\\.microsoft\\.rdc\\.macos$",
- "com\\.microsoft\\.rdc\\.osx\\.beta$",
- "com\\.thinomenon\\.RemoteDesktopConnection$",
- "com\\.teamviewer\\.TeamViewer$",
- "com\\.ericom\\.blazeclient"
- ],
- "type": "frontmost_application_if"
- }
- ],
- "from": {
- "key_code": "right_command",
- "modifiers": { "optional": ["any"] }
- },
- "to": [{ "key_code": "right_control" }],
- "type": "basic"
- },
- {
- "conditions": [
- {
- "bundle_identifiers": [
- "com\\.microsoft\\.rdc$",
- "com\\.microsoft\\.rdc\\.mac$",
- "com\\.microsoft\\.rdc\\.macos$",
- "com\\.microsoft\\.rdc\\.osx\\.beta$",
- "com\\.thinomenon\\.RemoteDesktopConnection$",
- "com\\.teamviewer\\.TeamViewer$",
- "com\\.ericom\\.blazeclient"
- ],
- "type": "frontmost_application_if"
- }
- ],
- "from": {
- "key_code": "left_arrow",
- "modifiers": {
- "mandatory": ["control"],
- "optional": []
- }
- },
- "to": [{ "key_code": "vk_none" }],
- "type": "basic"
- },
- {
- "conditions": [
- {
- "bundle_identifiers": [
- "com\\.microsoft\\.rdc$",
- "com\\.microsoft\\.rdc\\.mac$",
- "com\\.microsoft\\.rdc\\.macos$",
- "com\\.microsoft\\.rdc\\.osx\\.beta$",
- "com\\.thinomenon\\.RemoteDesktopConnection$",
- "com\\.teamviewer\\.TeamViewer$",
- "com\\.ericom\\.blazeclient"
- ],
- "type": "frontmost_application_if"
- }
- ],
- "from": {
- "key_code": "right_arrow",
- "modifiers": {
- "mandatory": ["control"],
- "optional": []
- }
- },
- "to": [{ "key_code": "vk_none" }],
- "type": "basic"
- },
- {
- "conditions": [
- {
- "bundle_identifiers": [
- "com\\.microsoft\\.rdc$",
- "com\\.microsoft\\.rdc\\.mac$",
- "com\\.microsoft\\.rdc\\.macos$",
- "com\\.microsoft\\.rdc\\.osx\\.beta$",
- "com\\.thinomenon\\.RemoteDesktopConnection$",
- "com\\.teamviewer\\.TeamViewer$",
- "com\\.ericom\\.blazeclient"
- ],
- "type": "frontmost_application_if"
- }
- ],
- "from": {
- "key_code": "up_arrow",
- "modifiers": {
- "mandatory": ["control"],
- "optional": []
- }
- },
- "to": [{ "key_code": "vk_none" }],
- "type": "basic"
- },
- {
- "conditions": [
- {
- "bundle_identifiers": [
- "com\\.microsoft\\.rdc$",
- "com\\.microsoft\\.rdc\\.mac$",
- "com\\.microsoft\\.rdc\\.macos$",
- "com\\.microsoft\\.rdc\\.osx\\.beta$",
- "com\\.thinomenon\\.RemoteDesktopConnection$",
- "com\\.teamviewer\\.TeamViewer$",
- "com\\.ericom\\.blazeclient"
- ],
- "type": "frontmost_application_if"
- }
- ],
- "from": {
- "key_code": "down_arrow",
- "modifiers": {
- "mandatory": ["control"],
- "optional": []
- }
- },
- "to": [{ "key_code": "vk_none" }],
- "type": "basic"
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment