No description
![]() Calling strncpy where the size of the string to copy is equal to the size of the destination can potentially lead to a buffer overflow. To fix this, copy only what is needed with memcpy, and explicitly terminate the string with a null character. |
||
---|---|---|
docs | ||
protocols | ||
.gitignore | ||
LICENSE | ||
main.c | ||
meson.build | ||
pango.c | ||
pango.h | ||
pool-buffer.c | ||
pool-buffer.h | ||
README.md |
wmenu - dmenu for Wayland
An efficient dynamic menu for Sway and wlroots based Wayland compositors
(requires wlr_layer_shell_v1
support).
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 dmenu_path | wmenu | xargs swaymsg exec --
bindsym $mod+d exec $menu
Contributing
Send patches and questions to ~adnano/wmenu-devel.
Subscribe to release announcements on ~adnano/wmenu-announce.
Credits
This project started as a fork of dmenu-wl. However, most of the code was rewritten from scratch.