diff --git a/README.md b/README.md index 682b8d80..b2117847 100644 --- a/README.md +++ b/README.md @@ -1973,6 +1973,7 @@ multiple `dropbar_menu_entry_t` instances while a | `separator` | [`dropbar_symbol_t`](#dropbar_symbol_t) | separator to use in the entry | | `padding` | `{left: integer, right: integer}` | padding to use between the menu entry and the menu border | | `components` | [`dropbar_symbol_t[]`](#dropbar_symbol_t) | components[`dropbar_symbol_t[]`](#dropbar_symbol_t) in the entry | +| `virt_text` | `string[][]?` | list of virtual text chunks to display below the entry | | `menu` | [`dropbar_menu_t?`](#dropbar_menu_t) | the menu the entry belongs to | | `idx` | `integer?` | the index of the entry in the menu | diff --git a/doc/dropbar.txt b/doc/dropbar.txt index 7b42fe32..f9dcd27e 100644 --- a/doc/dropbar.txt +++ b/doc/dropbar.txt @@ -1832,21 +1832,21 @@ contain multiple `dropbar_symbol_t` instances. `dropbar_menu_entry_t` has the following fields: -dropbar_menu_t.separator *dropbar_menu_t.separator* +dropbar_menu_entry_t.separator *dropbar_menu_t.separator* Separator to use in the entry Type ~ `dropbar_symbol_t` -dropbar_menu_t.padding *dropbar_menu_t.padding* +dropbar_menu_entry_t.padding *dropbar_menu_t.padding* Padding to use between the menu entry and the menu border Type ~ { left: integer, right: integer } -dropbar_menu_t.components *dropbar_menu_t.components* +dropbar_menu_entry_t.components *dropbar_menu_t.components* Symbols got from sources |dropbar-developers-classes-dropbar_source_t| in the entry @@ -1854,14 +1854,22 @@ dropbar_menu_t.components *dropbar_menu_t.components* Type ~ `dropbar_symbol_t`[] -dropbar_menu_t.menu *dropbar_menu_t.menu* +dropbar_menu_entry_t.virt_text *dropbar_menu_t.virt_text* + + Symbols got from sources |dropbar-developers-classes-dropbar_source_t| + in the entry + + Type ~ + `string`[][]? + +dropbar_menu_entry_t.menu *dropbar_menu_t.menu* The menu the entry belongs to Type ~ `dropbar_menu_t`? -dropbar_menu_t.idx *dropbar_menu_t.idx* +dropbar_menu_entry_t.idx *dropbar_menu_t.idx* The index of the entry in the menu