{
  "name": "Command Palette",
  "version": 1,
  "nodes": [
    {
      "localID": 0,
      "typeID": "trigger.keyboard_shortcut",
      "customName": "Cmd-Shift-Space",
      "isDisabled": false,
      "x": 60.0,
      "y": 110.0,
      "config": {
        "shortcut": "cmd+shift+space",
        "consumeKey": true,
        "customArgs": {}
      }
    },
    {
      "localID": 1,
      "typeID": "action.installed_apps",
      "customName": "Installed Apps",
      "isDisabled": false,
      "x": 380.0,
      "y": 110.0,
      "config": {
        "folders": [],
        "extraRows": []
      }
    },
    {
      "localID": 2,
      "typeID": "action.palette",
      "customName": "Pick from List",
      "isDisabled": false,
      "x": 700.0,
      "y": 110.0,
      "config": {
        "rowsKey": "records",
        "view": "list",
        "primaryColumn": "name",
        "secondaryColumn": "",
        "thumbnailColumn": "path",
        "searchColumns": "name",
        "placeholder": "Run a command or open an app…",
        "commands": [
          {
            "name": "Open Downloads",
            "icon": "arrow.down.circle",
            "kind": "wire"
          },
          {
            "name": "GitHub Notifications",
            "icon": "bell",
            "kind": "wire"
          },
          {
            "name": "Copy Today's Date",
            "icon": "calendar",
            "kind": "wire"
          },
          {
            "name": "Morning Brief",
            "icon": "sun.max",
            "kind": "flow",
            "workflowID": "SMOKE_FLOW"
          }
        ],
        "offerSharedFlows": false,
        "answers": false
      }
    },
    {
      "localID": 3,
      "typeID": "action.open_file",
      "customName": "Open the app",
      "isDisabled": false,
      "x": 1020.0,
      "y": 110.0,
      "config": {
        "filePath": "{{selected.path}}"
      }
    },
    {
      "localID": 4,
      "typeID": "condition.router",
      "customName": "Router",
      "isDisabled": false,
      "x": 1020.0,
      "y": 570.0,
      "config": {
        "field": "{{command.name}}",
        "cases": [
          "Open Downloads",
          "GitHub Notifications",
          "Copy Today's Date"
        ],
        "ignoreCase": false
      }
    },
    {
      "localID": 5,
      "typeID": "action.open_file",
      "customName": "Open Downloads",
      "isDisabled": false,
      "x": 1340.0,
      "y": 450.0,
      "config": {
        "filePath": "~/Downloads"
      }
    },
    {
      "localID": 6,
      "typeID": "action.open_url",
      "customName": "GitHub Notifications",
      "isDisabled": false,
      "x": 1340.0,
      "y": 600.0,
      "config": {
        "url": "https://github.com/notifications",
        "allow_non_http_schemes": false
      }
    },
    {
      "localID": 7,
      "typeID": "action.script",
      "customName": "Copy Today's Date",
      "isDisabled": false,
      "x": 1340.0,
      "y": 750.0,
      "config": {
        "shell": "/bin/bash",
        "script": "date \"+%Y-%m-%d\" | tr -d \"\\n\" | pbcopy",
        "outputSchema": ""
      }
    },
    {
      "localID": 8,
      "typeID": "note",
      "customName": "Chooser",
      "isDisabled": false,
      "x": 20.0,
      "y": 40.0,
      "config": {
        "backdrop": true,
        "color": "#64B5F6",
        "text": "Hotkey to chooser",
        "_width": 1260.0,
        "_height": 270.0
      }
    },
    {
      "localID": 9,
      "typeID": "note",
      "customName": "Commands",
      "isDisabled": false,
      "x": 980.0,
      "y": 380.0,
      "config": {
        "backdrop": true,
        "color": "#BA68C8",
        "text": "One branch per command",
        "_width": 620.0,
        "_height": 540.0
      }
    }
  ],
  "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": 2,
      "sourcePortID": "outlet_command",
      "targetLocalID": 4,
      "targetPortID": "inlet_input"
    },
    {
      "sourceLocalID": 4,
      "sourcePortID": "outlet_case_open_downloads",
      "targetLocalID": 5,
      "targetPortID": "inlet_input"
    },
    {
      "sourceLocalID": 4,
      "sourcePortID": "outlet_case_github_notifications",
      "targetLocalID": 6,
      "targetPortID": "inlet_input"
    },
    {
      "sourceLocalID": 4,
      "sourcePortID": "outlet_case_copy_today_s_date",
      "targetLocalID": 7,
      "targetPortID": "inlet_input"
    }
  ],
  "background": {
    "type": "image",
    "ref": {
      "type": "bundled",
      "id": "dusk"
    },
    "fit": "cover"
  }
}
