roman 5 years ago
parent
commit
b7a0c7851d
1 changed files with 65 additions and 6 deletions
  1. 65 6
      RomansProfile.json

+ 65 - 6
RomansProfile.json

@@ -171,14 +171,13 @@
       ]
     },
     {
-      "description": "Change Fn,Control,Option in Teamviewer and JI_Cloud",
+      "description": "Change Fn,Control,Option in JI_Cloud",
       "manipulators": [
         {
          "conditions": [
           {
               "type": "frontmost_application_if",
               "bundle_identifiers": [
-                  "^com\\.teamviewer\\.TeamViewer$",
                   "^com\\.apple\\.compilers\\.llvm\\.clang\\.1_0$"
               ]
           }
@@ -189,7 +188,7 @@
           },
           "to": [
             {
-              "key_code": "left_control"
+              "key_code": "left_command"
             }
           ]
         },
@@ -198,7 +197,6 @@
           {
               "type": "frontmost_application_if",
               "bundle_identifiers": [
-                  "^com\\.teamviewer\\.TeamViewer$",
                   "^com\\.apple\\.compilers\\.llvm\\.clang\\.1_0$"
               ]
           }
@@ -209,7 +207,7 @@
           },
           "to": [
             {
-              "key_code": "left_command"
+              "key_code": "fn"
             }
           ]
         },
@@ -218,10 +216,71 @@
           {
               "type": "frontmost_application_if",
               "bundle_identifiers": [
-                  "^com\\.teamviewer\\.TeamViewer$",
                   "^com\\.apple\\.compilers\\.llvm\\.clang\\.1_0$"
               ]
           }
+         ],
+          "type": "basic",
+          "from": {
+            "key_code": "left_command"
+          },
+          "to": [
+            {
+              "key_code": "left_control"
+            }
+          ]
+        }
+      ]
+    },
+    {
+      "description": "Change Fn,Control,Option in Teamviewer",
+      "manipulators": [
+        {
+         "conditions": [
+          {
+              "type": "frontmost_application_if",
+              "bundle_identifiers": [
+                  "^com\\.teamviewer\\.TeamViewer$"
+              ]
+          }
+         ],
+          "type": "basic",
+          "from": {
+            "key_code": "fn"
+          },
+          "to": [
+            {
+              "key_code": "left_control"
+            }
+          ]
+        },
+        {
+         "conditions": [
+          {
+              "type": "frontmost_application_if",
+              "bundle_identifiers": [
+                  "^com\\.teamviewer\\.TeamViewer$"
+              ]
+          }
+         ],
+          "type": "basic",
+          "from": {
+            "key_code": "left_control"
+          },
+          "to": [
+            {
+              "key_code": "left_command"
+            }
+          ]
+        },
+        {
+         "conditions": [
+          {
+              "type": "frontmost_application_if",
+              "bundle_identifiers": [
+                  "^com\\.teamviewer\\.TeamViewer$"
+              ]
+          }
          ],
           "type": "basic",
           "from": {