README: Mention Sway

This commit is contained in:
adnano 2022-04-17 13:53:11 -04:00
parent f8aa02f55b
commit 01a343ed12

View file

@ -1,7 +1,7 @@
# wmenu - dmenu for Wayland # wmenu - dmenu for Wayland
An efficient dynamic menu for supported Wayland compositors (requires An efficient dynamic menu for Sway and wlroots based Wayland compositors
`wlr_layer_shell_v1` support). (requires `wlr_layer_shell_v1` support).
## Installation ## Installation
@ -23,6 +23,13 @@ $ ninja -C build
See wmenu(1) 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 ## Contributing
Send patches and questions to [~adnano/wmenu-devel](https://lists.sr.ht/~adnano/wmenu-devel). Send patches and questions to [~adnano/wmenu-devel](https://lists.sr.ht/~adnano/wmenu-devel).