diff --git a/README.md b/README.md index b0d5e60..0251fff 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # wmenu - dmenu for Wayland -An efficient dynamic menu for supported Wayland compositors (requires -`wlr_layer_shell_v1` support). +An efficient dynamic menu for Sway and wlroots based Wayland compositors +(requires `wlr_layer_shell_v1` support). ## Installation @@ -23,6 +23,13 @@ $ ninja -C build 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](https://lists.sr.ht/~adnano/wmenu-devel).