-
-
Notifications
You must be signed in to change notification settings - Fork 225
Open
Description
the layout should be more dynamic by adding the following items.json directives:
- sub-menu:
Allows you to specify another json file with another layout that gets used when the item is clicked
e.g.:
{
"type": "sub-menu",
"icon": "...", // icon
"file": "menu.json", // sub-menu json file
}
- inline-menu:
Like sub-menu, but the menu is expandable/collapsable within the current menu context.
{
"type": "sub-menu",
"icon": "...", // icon
"file": "menu.json", // sub-menu json file
"width": 100, // max expanded width (potentially also use %'s)
"collapsed": true, // true or false, collapsed by default
}
- app-menu:
Defines a menu layout to be used when a specific application is in focus, or maybe when the app's title bar matches an expression.
{
"type": "app-menu",
"app-name": "Chrome",
"file": "chrome-menu.json"
}
... these are just a few of my thoughts. I think making this possible is gonna require reworking the way configuration is loaded, to be more dynamic / extensible. As I don't see much progress being made to this project, however, I think maybe I may fork this project and do it myself. If so, and you are interested, I will keep you informed. Thanks for the starting point... provides me with a lot of how-to details I probably wouldn't have gotten around to digging into myself. ;)
Metadata
Metadata
Assignees
Labels
No labels