aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authoradnano <me@adnano.co>2022-04-17 13:53:11 -0400
committeradnano <me@adnano.co>2022-04-17 13:53:11 -0400
commit01a343ed121efdc2181e34c1192f96d53f8a5a86 (patch)
treeb16a3aa24bba0e55c1fd4534734844146a123331 /README.md
parentf8aa02f55bd33c70fda3276a6f60c7ef5cfe99d8 (diff)
downloadwmenu-01a343ed121efdc2181e34c1192f96d53f8a5a86.tar.gz
README: Mention Sway
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 9 insertions, 2 deletions
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).