260eaba88ec8f54fe2bdbe391b18fcd2db70836f
Sorting and deduplicating elements after all items have been registered improves the time complexity of constructing the item list from O(n^2) to O(n log n). On a system with about 4000 menu items, this reduces startup time from about 0.21 seconds to 0.13 seconds.
wmenu
wmenu is an efficient dynamic menu for Sway and wlroots based Wayland compositors. It provides a Wayland-native dmenu replacement which maintains the look and feel of dmenu.
Installation
Dependencies:
- cairo
- pango
- wayland
- xkbcommon
- scdoc (optional)
$ meson build
$ ninja -C build
# ninja -C build install
Usage
See wmenu(1)
To use wmenu with Sway, you can add the following to your configuration file:
set $menu wmenu-run
bindsym $mod+d exec $menu
Languages
C
94.6%
Meson
5.4%