You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`menu.section`| yes | Where in the main menu the entry appears. Reuse an existing section or create a new one. |
82
+
|`menu.section`| one of section/parent | Creates (or reuses) a **top-level** main-menu section the entry appears under. |
83
+
|`menu.parent`| one of section/parent | Injects the entry **into** a built-in submenu instead: one of `tweaks`, `apps`, `customize`, `security`, `cleanup`. Requires `macrift_min ≥ 26.06`. |
83
84
|`menu.entry`| yes | The label as shown. Append ` ›` if it opens a submenu. |
84
85
|`menu.function`| yes | Bash function defined in `menu.sh` — macrift calls this when the user selects the entry. |
86
+
87
+
Set **exactly one** of `menu.section` or `menu.parent`. Use `section` to add your
88
+
own top-level entry to the main menu; use `parent` to land inside an existing
89
+
built-in submenu (e.g. `parent: "customize"` puts your entry at the bottom of the
90
+
**Customize** menu). Plugins using `parent` must set `compat.macrift_min` to `26.06`
91
+
or later — older macrift builds don't understand it and will skip the plugin.
85
92
|`lifecycle.on_install`| optional | Script run once when the plugin is installed. |
86
93
|`lifecycle.on_remove`| optional | Script run once when the plugin is removed (before journal undo). |
"description": "Inject the entry INTO a built-in submenu instead of creating a top-level section. Mutually exclusive with 'section'. Requires macrift ≥ 26.06."
0 commit comments