{ "schemaVersion": 1, "id": "mx-keymap", "name": "Keymap Cheat Sheet", "version": "0.1.0", "author": "mx", "license": "MIT", "description": "A cheat sheet for your keyboard's layers, drawn from the keymap in a git repository (keymap-drawer YAML, ZMK .keymap or QMK keymap.json). It watches the repo and redraws the sheet when you push a change.", "kinds": [ "bar-widget", "service" ], "entryPoints": { "barWidget": "BarWidget.qml", "service": "Service.qml" }, "barWidget": { "displayName": "Keymap", "description": "Click for a cheat sheet of your keyboard layers.", "category": "Utilities", "allowMultiple": false, "defaultSection": "right", "defaults": { "background": "pill", "repository": "xnmrph/corne", "branch": "", "path": "", "checkMinutes": 2, "startView": "overview" }, "schema": [ { "key": "background", "label": "Background", "description": "pill: the button sits on a round pill; transparent: just the icon.", "choices": ["pill", "transparent"], "defaultValue": "pill" }, { "key": "repository", "type": "string", "label": "Keymap repository", "description": "GitHub owner/name (e.g. xnmrph/corne) or any git URL. Private repos use your git credentials.", "defaultValue": "xnmrph/corne" }, { "key": "branch", "type": "string", "label": "Branch", "description": "Blank: the repository's default branch.", "defaultValue": "" }, { "key": "path", "type": "string", "label": "Keymap file", "description": "Path inside the repo. Blank: found automatically (keymap-drawer YAML first, then a ZMK .keymap, then QMK keymap.json).", "defaultValue": "" }, { "key": "checkMinutes", "type": "integer", "label": "Check for changes every (minutes)", "description": "A git ls-remote, so frequent checks are cheap. The sheet also checks when you open it.", "defaultValue": 2 }, { "key": "startView", "label": "Opens on", "description": "Overview shows every layer on one keyboard; Base shows the first layer on its own.", "choices": ["overview", "base"], "defaultValue": "overview" } ] } }