Change matching method in search script to fuzzy

This commit is contained in:
Wiktor Zykubek 2020-06-03 19:25:52 +02:00
parent ecde584e0e
commit 217cd4dfd2

View File

@ -4,7 +4,10 @@
bmfile="$HOME/.config/bookmarks" bmfile="$HOME/.config/bookmarks"
m() { rofi -dmenu -width 600 -i -p "Search" -l "$(wc -l "$bmfile")" ;} m() {
rofi -dmenu -width 600 -i -p "Search" -l "$(wc -l "$bmfile")" \
-matching fuzzy
}
chosen="$( chosen="$(
sed 's/http.*\/ //g' "$bmfile" | m sed 's/http.*\/ //g' "$bmfile" | m