From 01a343ed121efdc2181e34c1192f96d53f8a5a86 Mon Sep 17 00:00:00 2001 From: adnano Date: Sun, 17 Apr 2022 13:53:11 -0400 Subject: README: Mention Sway --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'README.md') 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). -- cgit v1.2.3