mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-12-03 05:34:32 +01:00
docs(schema): regenerate schemas, nix options and cli docs
Bring the generated files back in line with the code on master. - schema.json: add monocle_focus_behaviour and the MonocleFocusBehaviour definition. schema.asc.json and schema.bar.json were already current. - nix/komorebi-options.nix: add the monocle_focus_behaviour option. nix/komorebi-bar-options.nix was already current. - docs/cli: add the pages for layout-ratios, monocle-focus-behaviour, permissions and toggle-monocle-focus-behaviour. Update 19 pages for the --bar flag of enable-autostart, the per-value help of enum arguments and reworded help text. Re-wrap 4 pages whose text did not change. How the files were made: - schemars-nixgen writes the properties of an object in a different order on every run, so the files are not regenerated whole. Only the new option is added; the rest of a full run was checked to be the same lines in another order. - docgen on master writes a bare fence with no heading and "Usage: name", where the pages in docs/cli have a "# name" heading and "Usage: komorebic name". The pages keep the format they have. - Pages are wrapped at 100 columns, the width docgen uses when it does not write to a terminal, instead of the width of the terminal the old pages were made in.
This commit is contained in:
1 parent
ed19380659
commit
2cd5884f21
29 files changed
+268
-43
No files matched your search
+27
@@ -253,6 +253,18 @@
|
||||
"$ref": "#/$defs/MonitorConfig"
|
||||
}
|
||||
},
|
||||
"monocle_focus_behaviour": {
|
||||
"description": "Determine what happens when focusing in a direction while a monocle container is active",
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/$defs/MonocleFocusBehaviour"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"default": "NoOp"
|
||||
},
|
||||
"mouse_follows_focus": {
|
||||
"description": "Enable or disable mouse follows focus",
|
||||
"type": [
|
||||
@@ -3167,6 +3179,21 @@
|
||||
"workspaces"
|
||||
]
|
||||
},
|
||||
"MonocleFocusBehaviour": {
|
||||
"description": "Behaviour when focusing in a direction while a monocle container is active",
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "Cycle the monocle container to the next/previous container in the workspace",
|
||||
"type": "string",
|
||||
"const": "Cycle"
|
||||
},
|
||||
{
|
||||
"description": "Do nothing, allowing focus to fall through to cross-monitor logic",
|
||||
"type": "string",
|
||||
"const": "NoOp"
|
||||
}
|
||||
]
|
||||
},
|
||||
"MoveBehaviour": {
|
||||
"description": "Move behaviour when the operation works across a monitor boundary",
|
||||
"oneOf": [
|
||||
|
||||
Reference in new issue
Block a user