Explore the source / dotfiles

Inside dotfiles.

Shell, terminal, backup, and the configuration that joins them. Browse the current public files here, or visit the dotfiles repository on GitHub.

dotfiles / main

home/.config/karabiner/assets/complex_modifications/yomu.json

View on GitHub
{
  "title": "Yomu Shortcuts",
  "rules": [ 
    
    {
      "description": "Open Yomu Annotations",
      "manipulators": [
        {
          "type": "basic",
          "from": {
            "key_code": "a",
            "modifiers": {
              "mandatory": [
                "command",
                "shift"
              ]
            }
          },
          "to": [
            {
              "shell_command": "/Users/kevinmuka/.config/karabiner/assets/complex_modifications/scripts/yomu/yomu_annotations.sh"
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": [
                "net.cecinestpasparis.yomu"
              ]
            }
          ]
        }
      ]
    },
    
    {
      "description": "Open Yomu Chapters",
      "manipulators": [
        {
          "type": "basic",
          "from": {
            "key_code": "c",
            "modifiers": {
              "mandatory": [
                "command",
                "shift"
              ]
            }
          },
          "to": [
            {
              "shell_command": "/Users/kevinmuka/.config/karabiner/assets/complex_modifications/scripts/yomu/yomu_chapters.sh"
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": [
                "net.cecinestpasparis.yomu"
              ]
            }
          ]
        }
      ]
    },
    
    {
      "description": "Yomu, Highlight Red",
      "manipulators": [
        {
          "type": "basic",
          "from": {
            "key_code": "r",
            "modifiers": {
              "mandatory": [
                "option",
                "shift"
              ]
            }
          },
          "to": [
            {
              "shell_command": "/Users/kevinmuka/.config/karabiner/assets/complex_modifications/scripts/yomu/yomu_red.sh"
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": [
                "net.cecinestpasparis.yomu"
              ]
            }
          ]
        }
      ]
    },
    
    {
      "description": "Yomu, Highlight Orange",
      "manipulators": [
        {
          "type": "basic",
          "from": {
            "key_code": "o",
            "modifiers": {
              "mandatory": [
                "option",
                "shift"
              ]
            }
          },
          "to": [
            {
              "shell_command": "/Users/kevinmuka/.config/karabiner/assets/complex_modifications/scripts/yomu/yomu_orange.sh"
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": [
                "net.cecinestpasparis.yomu"
              ]
            }
          ]
        }
      ]
    },
    
    {
      "description": "Yomu, Underline",
      "manipulators": [
        {
          "type": "basic",
          "from": {
            "key_code": "u",
            "modifiers": {
              "mandatory": [
                "option",
                "shift"
              ]
            }
          },
          "to": [
            {
              "shell_command": "/Users/kevinmuka/.config/karabiner/assets/complex_modifications/scripts/yomu/yomu_underline.sh"
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": [
                "net.cecinestpasparis.yomu"
              ]
            }
          ]
        }
      ]
    },
    
    {
      "description": "Yomu, Highlight",
      "manipulators": [
        {
          "type": "basic",
          "from": {
            "key_code": "h",
            "modifiers": {
              "mandatory": [
                "option",
                "shift"
              ]
            }
          },
          "to": [
            {
              "shell_command": "/Users/kevinmuka/.config/karabiner/assets/complex_modifications/scripts/yomu/yomu_highlight.sh"
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": [
                "net.cecinestpasparis.yomu"
              ]
            }
          ]
        }
      ]
    }

  ]
}