No description
Find a file
adnano 7c1e28b201 Fix potential buffer overflow
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.
2023-02-26 07:50:54 -05:00
docs docs: Document new bindings 2022-12-03 10:49:24 -05:00
protocols Drop xdg-output-unstable-v1 2022-12-02 12:00:28 -05:00
.gitignore Initial commit 2022-01-16 08:32:58 -05:00
LICENSE Initial commit 2022-01-16 08:32:58 -05:00
main.c Fix potential buffer overflow 2023-02-26 07:50:54 -05:00
meson.build Bump version 2023-02-07 13:42:56 -05:00
pango.c Initial commit 2022-01-16 08:32:58 -05:00
pango.h Initial commit 2022-01-16 08:32:58 -05:00
pool-buffer.c Initial commit 2022-01-16 08:32:58 -05:00
pool-buffer.h Initial commit 2022-01-16 08:32:58 -05:00
README.md README: Mention Sway 2022-04-17 13:53:11 -04:00

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.