{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/config-yaml/latest.json",
  "title": "settings",
  "description": "Global settings\n<https://github.com/yamnikov-oleg/projektor#configuration>",
  "x-lintel": {
    "source": "https://www.schemastore.org/projektor.json",
    "sourceSha256": "277651d7a70963c9a023beacbdb96f5eef5847869e4aae5ef6e33211b58b2af4",
    "fileMatch": [
      "**/.projektor/config.yaml"
    ],
    "parsers": [
      "yaml"
    ]
  },
  "type": "object",
  "properties": {
    "keybind": {
      "title": "keybinding",
      "description": "A daemon keybinding\n<https://github.com/yamnikov-oleg/projektor#configuration>",
      "type": "string",
      "minLength": 1,
      "default": "Mod4-q"
    },
    "forcecacheinterval": {
      "title": "force cache interval",
      "description": "A delay between daemon run with '-dry' flag\n<https://github.com/yamnikov-oleg/projektor#configuration>",
      "type": "integer",
      "minimum": 0,
      "default": 60
    },
    "enabledcategories": {
      "title": "enabled categories",
      "description": "Global enabled category settings\n<https://github.com/yamnikov-oleg/projektor#configuration>",
      "type": "object",
      "properties": {
        "calc": {
          "title": "calculator",
          "description": "Whether to enable calculator\n<https://github.com/yamnikov-oleg/projektor#configuration>",
          "type": "string",
          "default": true
        },
        "history": {
          "title": "history",
          "description": "Whether to show history\n<https://github.com/yamnikov-oleg/projektor#configuration>",
          "type": "string",
          "default": true
        },
        "apps": {
          "title": "applications",
          "description": "Whether to show applications\n<https://github.com/yamnikov-oleg/projektor#configuration>",
          "type": "string",
          "default": true
        },
        "url": {
          "title": "url",
          "description": "Whether to show urls\n<https://github.com/yamnikov-oleg/projektor#configuration>",
          "type": "string",
          "default": true
        },
        "commands": {
          "title": "commands",
          "description": "Whether to show commands\n<https://github.com/yamnikov-oleg/projektor#configuration>",
          "type": "string",
          "default": true
        },
        "files": {
          "title": "files",
          "description": "Whether to show files\n<https://github.com/yamnikov-oleg/projektor#configuration>",
          "type": "string",
          "default": true
        },
        "websearch": {
          "title": "web search",
          "description": "Whether to allow web search\n<https://github.com/yamnikov-oleg/projektor#configuration>",
          "type": "string",
          "default": true
        }
      },
      "additionalProperties": false
    },
    "history": {
      "title": "history",
      "description": "Global history settings\n<https://github.com/yamnikov-oleg/projektor#configuration>",
      "type": "object",
      "properties": {
        "capacity": {
          "title": "capacity",
          "description": "A capacity\n<https://github.com/yamnikov-oleg/projektor#configuration>",
          "type": "integer",
          "minimum": 0,
          "default": 40
        }
      },
      "additionalProperties": false
    },
    "url": {
      "title": "url",
      "description": "Global url settings\n<https://github.com/yamnikov-oleg/projektor#configuration>",
      "type": "object",
      "properties": {
        "capacity": {
          "title": "icon",
          "description": "An icon\n<https://github.com/yamnikov-oleg/projektor#configuration>",
          "type": "string",
          "minLength": 1,
          "default": "web-browser"
        }
      },
      "additionalProperties": false
    },
    "websearch": {
      "title": "websearch",
      "description": "Global web search settings\n<https://github.com/yamnikov-oleg/projektor#configuration>",
      "type": "object",
      "properties": {
        "engine": {
          "title": "engine",
          "description": "A url template\n<https://github.com/yamnikov-oleg/projektor#configuration>",
          "type": "string",
          "minLength": 1,
          "default": "https://google.com/search?q=%s"
        },
        "icon": {
          "title": "icon",
          "description": "An entry icon\n<https://github.com/yamnikov-oleg/projektor#configuration>",
          "type": "string",
          "minLength": 1,
          "default": "web-browser"
        }
      },
      "additionalProperties": false
    },
    "ui": {
      "title": "ui",
      "description": "Global UI settings\n<https://github.com/yamnikov-oleg/projektor#configuration>",
      "type": "object",
      "properties": {
        "width": {
          "title": "width",
          "description": "A width\n<https://github.com/yamnikov-oleg/projektor#configuration>",
          "type": "string",
          "pattern": "^\\d+$",
          "default": "600"
        },
        "height": {
          "title": "height",
          "description": "A height\n<https://github.com/yamnikov-oleg/projektor#configuration>",
          "type": "string",
          "pattern": "^\\d+$",
          "default": "300"
        }
      },
      "additionalProperties": false
    }
  },
  "additionalProperties": false
}
