Compare commits

..

No commits in common. "bf9be79c3187a51733e44d9f30124c2fd43ac2c5" and "cc9f809446f75a67e2128749537c51dd9558eec8" have entirely different histories.

6
bemoji
View file

@ -25,7 +25,6 @@ declare -A default_pickers=(
["wofi"]="wofi -p 🔍 -i --show dmenu"
["rofi"]="rofi -p 🔍 -i -dmenu --kb-custom-1 "Alt+1" --kb-custom-2 "Alt+2""
["dmenu"]="dmenu -p 🔍 -i -l 20"
["wmenu"]="wmenu -p 🔍 -i -l 20"
["ilia"]="ilia -n -p textlist -l 'Emoji' -i desktop-magnifier"
["fuzzel"]="fuzzel -d -p '🔍 '"
)
@ -264,13 +263,14 @@ _typer() {
# Set default picker util
_picker() {
if [ -n "$BEMOJI_PICKER_CMD" ]; then
eval "${BEMOJI_PICKER_CMD[*]}"
# shellcheck disable=SC2068
${BEMOJI_PICKER_CMD[@]}
return
fi
for tool in "${!default_pickers[@]}"; do
if command -v "$tool" >/dev/null 2>&1; then
eval "${default_pickers[$tool]}"
${default_pickers[$tool]}
return
fi
done