{
  "name": "Launcher",
  "version": 1,
  "nodes": [
    {
      "localID": 0,
      "typeID": "trigger.keyboard_shortcut",
      "customName": "Option-Space",
      "isDisabled": false,
      "x": 60.0,
      "y": 110.0,
      "config": {
        "shortcut": "option+space",
        "consumeKey": true,
        "customArgs": {}
      }
    },
    {
      "localID": 1,
      "typeID": "action.installed_apps",
      "customName": "Installed Apps",
      "isDisabled": false,
      "x": 380.0,
      "y": 110.0,
      "config": {
        "folders": [],
        "extraRows": [
          "Downloads",
          "GitHub notifications",
          "Sleep Displays"
        ]
      }
    },
    {
      "localID": 2,
      "typeID": "action.palette",
      "customName": "Pick from List",
      "isDisabled": false,
      "x": 700.0,
      "y": 110.0,
      "config": {
        "rowsKey": "records",
        "view": "list",
        "primaryColumn": "name",
        "thumbnailColumn": "path",
        "searchColumns": [
          "name"
        ],
        "placeholder": "Open…"
      }
    },
    {
      "localID": 3,
      "typeID": "condition.compare",
      "customName": "One of mine?",
      "isDisabled": false,
      "x": 1020.0,
      "y": 110.0,
      "config": {
        "rules": [
          {
            "field": "selected.kind",
            "operator": "equals",
            "value": "custom",
            "negate": false
          }
        ],
        "logic": "and",
        "caseInsensitive": false
      }
    },
    {
      "localID": 4,
      "typeID": "transformer.template",
      "customName": "Command name",
      "isDisabled": false,
      "x": 1340.0,
      "y": 110.0,
      "config": {
        "outputKey": "command",
        "template": "{{selected.name}}"
      }
    },
    {
      "localID": 5,
      "typeID": "action.script",
      "customName": "Run the command",
      "isDisabled": false,
      "x": 1660.0,
      "y": 110.0,
      "config": {
        "shell": "/bin/bash",
        "script": "# One line per extra row. The name must match the row exactly.\ncase \"$PAYLOAD_command\" in\n  \"Downloads\")            open ~/Downloads ;;\n  \"GitHub notifications\") open \"https://github.com/notifications\" ;;\n  \"Sleep Displays\")       pmset displaysleepnow ;;\n  *) echo \"No command called $PAYLOAD_command\" >&2; exit 1 ;;\nesac",
        "outputSchema": ""
      }
    },
    {
      "localID": 6,
      "typeID": "action.open_file",
      "customName": "Open the app",
      "isDisabled": false,
      "x": 1340.0,
      "y": 330.0,
      "config": {
        "filePath": "{{selected.path}}"
      }
    }
  ],
  "connections": [
    {
      "sourceLocalID": 0,
      "sourcePortID": "outlet_output",
      "targetLocalID": 1,
      "targetPortID": "inlet_input"
    },
    {
      "sourceLocalID": 1,
      "sourcePortID": "outlet_output",
      "targetLocalID": 2,
      "targetPortID": "inlet_input"
    },
    {
      "sourceLocalID": 2,
      "sourcePortID": "outlet_selected",
      "targetLocalID": 3,
      "targetPortID": "inlet_input"
    },
    {
      "sourceLocalID": 3,
      "sourcePortID": "outlet_yes",
      "targetLocalID": 4,
      "targetPortID": "inlet_input"
    },
    {
      "sourceLocalID": 4,
      "sourcePortID": "outlet_output",
      "targetLocalID": 5,
      "targetPortID": "inlet_input"
    },
    {
      "sourceLocalID": 3,
      "sourcePortID": "outlet_no",
      "targetLocalID": 6,
      "targetPortID": "inlet_input"
    }
  ],
  "background": {
    "type": "image",
    "ref": {
      "type": "bundled",
      "id": "graphite"
    },
    "fit": "cover"
  }
}
