feat: add an ability to open submenus
With this, users can set up keybinds to send `show-submenu` message to uosc with menu ID to open just that. Example: `script-message-to uosc show-submenu "Foo > Bar"` closes #75
This commit is contained in:
@@ -231,6 +231,12 @@ mbtn_right script-binding uosc/menu
|
||||
menu script-binding uosc/menu
|
||||
```
|
||||
|
||||
To display a submenu, send a `show-submenu` message to **uosc** with first parameter specifying menu ID. Example:
|
||||
|
||||
```
|
||||
m script-message-to uosc show-submenu "Foo > Bar"
|
||||
```
|
||||
|
||||
**\*menu** button is the key between **win** and **right_ctrl** buttons that none uses (might not be on your keyboard).\*
|
||||
|
||||
### Adding items to menu
|
||||
|
Reference in New Issue
Block a user