Open dkwo opened 11 months ago
You are closing stdin? Do you want menu without items?
Ultimately, I want to use
bemenu -f --fn "Terminus 24" -i --sb "#005577" -p "Some message here" <&-
but even bemenu -f
in terminal (foot) is stuck at Loading...
So, yes, it wants no items, just capture text, to be used in
input="$(xprompt "Type text to search: " "$BIB_GENERIC_COLOR")"
where
xprompt () { # Usage xprompt [MSG] [BG_COLOR]
dmenu -f -fn "$BIB_GENERIC_FONT" -i -sb "$2" -p "$1" <&-
}
currently bemenu does not seem to detect closed stdin (it should, and needs to be fixed), but you can achieve similar by forwarding in /dev/null, bemenu -f --fn "Terminus 24" -i --sb "#005577" -p "Some message here" </dev/null
Thanks, that also works for me.
Feel free to keep this issue open, or close it as you prefer.
On Wayland (compositor is river, OS Void Linux, bemenu v0.6.15), the command
bemenu -f
is stuck atLoading...
. I'm trying to translate the commanddmenu -f -fn "$BIB_GENERIC_FONT" -i -sb "$2" -p "$1" <&-
fromdmenu
asbemenu -f --fn "$BIB_GENERIC_FONT" -i --sb "$2" -p "$1" <&-
and I was hitting this.