7
92
Fork
You've already forked wmenu
22
Efficient dynamic menu for Wayland
  • C 95.3%
  • Meson 4.7%
adnano 8fe04a0c99 Limit number of menu lines by item count
Limit the number of menu lines visible in line mode if there are less
items than lines. This brings wmenu's behavior in line with dmenu's.
Closes #64 
2025年11月18日 20:03:22 -05:00
docs Don't ignore stdin in password mode 2024年05月05日 10:13:01 -04:00
protocols Support xdg_activation_v1 protocol 2024年04月07日 08:51:57 -04:00
.gitignore Initial commit 2022年01月16日 08:32:58 -05:00
LICENSE Update LICENSE 2024年02月27日 08:50:29 -05:00
menu.c Limit number of menu lines by item count 2025年11月18日 20:03:22 -05:00
menu.h Limit number of menu lines by item count 2025年11月18日 20:03:22 -05:00
meson.build Version 0.2.0 2025年04月29日 15:23:10 -04:00
pango.c Free memory associated with the menu on exit 2024年03月02日 11:31:13 -05:00
pango.h Move menu and rendering logic into separate files 2024年02月27日 11:23:12 -05:00
pool-buffer.c Move menu and rendering logic into separate files 2024年02月27日 11:23:12 -05:00
pool-buffer.h Move menu and rendering logic into separate files 2024年02月27日 11:23:12 -05:00
README.md README: Update meson instructions 2024年11月01日 19:35:39 -04:00
render.c Render menu after surface enter event 2025年03月01日 07:04:00 -05:00
render.h Move menu and rendering logic into separate files 2024年02月27日 11:23:12 -05:00
wayland.c Render menu after surface enter event 2025年03月01日 07:04:00 -05:00
wayland.h Add wmenu-run executable 2024年05月02日 21:39:54 -04:00
wmenu-run.c Limit number of menu lines by item count 2025年11月18日 20:03:22 -05:00
wmenu.c Limit number of menu lines by item count 2025年11月18日 20:03:22 -05:00

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 setup 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