Files
glassMxrph-plugins/mx-keymap/manifest.json
T
mxandClaude Opus 5.5 806f59d6f8 Keymap: give combos their own tab
Combos move from a chip row under every layer to a Combos tab after the
layers. Each result sits on the seam between its two keys, with a dashed
line for keys far apart; pointing at a key keeps only its combos bright and
spells them out. C opens the tab.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 15:16:18 +01:00

113 lines
3.3 KiB
JSON

{
"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",
"keySize": 66,
"showCombos": true,
"showHints": true
},
"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",
"description": "A git ls-remote, so frequent checks are cheap. The sheet also checks when you open it.",
"defaultValue": 2,
"min": 1,
"max": 60,
"unit": "min"
},
{
"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"
},
{
"key": "keySize",
"type": "integer",
"label": "Key size",
"description": "Size of one key on the sheet. It shrinks by itself when the screen is too narrow.",
"min": 44,
"max": 96,
"unit": "px",
"defaultValue": 66
},
{
"key": "showCombos",
"type": "boolean",
"label": "Combos tab",
"description": "A Combos tab after the layers: each combo drawn between its two keys, plus layers you reach by holding two.",
"defaultValue": true
},
{
"key": "showHints",
"type": "boolean",
"label": "Show keyboard hints",
"description": "The line at the bottom with the keys that switch layers.",
"defaultValue": true
}
]
}
}