The `passmenu` script was extended to offer Wayland support using the dmenu-wayland[1] project. This project is not actively maintained.
bemenu[2] is actively maintained and widely used on Wayland, particularly in the sway community. This patch is a proposal two switch Wayland support for passmenu to use bemenu rather than dmenu-wayland due to it being better maintained and more widely supported. [1]: https://github.com/nyyManni/dmenu-wayland [2]: https://github.com/Cloudef/bemenu -- George Ornbo http://shapeshed.com
From ba4ea546a871392b9e1b736b5db93d174000c45c Mon Sep 17 00:00:00 2001 From: George Ornbo <[email protected]> Date: Wed, 16 Mar 2022 11:10:20 +0000 Subject: [PATCH] Switch passmenu Wayland support to use bemenu Wayland support for the passmenu script was added via the dmenu-wayland[1] project. This is unmaintained and not widely used. This patch switches Wayland support for the passmenu script to use the more widely used bemenu[2] project. [1]: https://github.com/nyyManni/dmenu-wayland [2]: https://github.com/Cloudef/bemenu --- contrib/dmenu/passmenu | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/dmenu/passmenu b/contrib/dmenu/passmenu index 76d92ab..69966b2 100755 --- a/contrib/dmenu/passmenu +++ b/contrib/dmenu/passmenu @@ -9,7 +9,8 @@ if [[ $1 == "--type" ]]; then fi if [[ -n $WAYLAND_DISPLAY ]]; then - dmenu=dmenu-wl + LD_LIBRARY_PATH=/usr/local/lib + dmenu="bemenu" xdotool="ydotool type --file -" elif [[ -n $DISPLAY ]]; then dmenu=dmenu -- 2.35.1
signature.asc
Description: PGP signature
