Switch passmenu to bemenu on Wayland

Reto reto at labrat.space
Fri Mar 18 00:06:34 UTC 2022

On Wed, Mar 16, 2022 at 11:24:56AM +0000, George Ornbo wrote:
>  if [[ -n $WAYLAND_DISPLAY ]]; then
> -	dmenu=dmenu-wl
> +	LD_LIBRARY_PATH=/usr/local/lib

Why on earth are you setting LD_LIBRARY_PATH to /usr/local?
That certainly shouldn't be done on a script that should run mostly
portable between distros.

> +	dmenu="bemenu"
>  	xdotool="ydotool type --file -"
>  elif [[ -n $DISPLAY ]]; then
>  	dmenu=dmenu

/usr/local is at least on my distro meant for self compiled programs,
anything OS level goes into /usr/lib.
Chances are that you're messing with gpg as well, considering that
you overwrite the lookup for everything else as well.

More information about the Password-Store mailing list