Dear Maintainer,
the Debian pass package provides the contrib/dmenu/passmenu script from
upstream in /usr/share/doc/pass/examples/dmenu/passmenu as an executable
script.
To make use of the passmenu script on my Debian machine with Wayland, I
had to copy the script to a directory on my PATH and apply the following
diff
@@ -9,7 +9,7 @@
fi
if [[ -n $WAYLAND_DISPLAY ]]; then
- dmenu=dmenu-wl
+ dmenu=wmenu
xdotool="ydotool type --file -"
elif [[ -n $DISPLAY ]]; then
dmenu=dmenu
as dmenu-wl is not packaged for Debian, wmenu however is.
I'm not particularly fond of this solution as I would miss all upstream
changes to the script and was wondering whether it would be possible to
put the (slightly adapted?) script in /usr/bin rather than
/usr/share/doc/pass/examples as it is very helpful for users of tiling
window managers?
If you decide to not put passmenu into /usr/bin, is there another way of
using the passmenu functionality without copying the script? I've tried
defining
dmenu-wl () { wmenu; }
export -f dmenu-wl
in my ~/.bashrc but this only works when I call passmenu from the CLI
but not when it is called through wmenu-run, where it fails with:
line 27: dmenu-wl: command not found
Thanks for your work and help!
PS: Copying in this mailing list thread for reference
https://lists.debian.org/debian-user/2025/10/msg00516.html