From 76b94ef4b1c25fb5511e33e4d6632aa8c88a0e4a Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Tue, 18 Apr 2023 22:32:01 +0200 Subject: made matching algorithm prefix on default --- bin/guiscripts/mpass | 2 +- bin/menuscripts/mvid | 2 +- config/hyprland/tofi/themes/nord | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/guiscripts/mpass b/bin/guiscripts/mpass index 386abdf..43f6f09 100755 --- a/bin/guiscripts/mpass +++ b/bin/guiscripts/mpass @@ -3,7 +3,7 @@ store="$HOME/.password-store" lscmd="ls --group-directories-first" if [ "$MENUCMD" = "tofi" ] then - menucmd="tofi --matching-algorithm prefix --prompt pass:" + menucmd="tofi --prompt pass:" elif [ "$MENUCMD" = "dmenu" ] then menucmd="dmenu -l 4 -g 2 -x -i -p pass:" diff --git a/bin/menuscripts/mvid b/bin/menuscripts/mvid index a31a221..8d14c4b 100755 --- a/bin/menuscripts/mvid +++ b/bin/menuscripts/mvid @@ -8,7 +8,7 @@ cat /tmp/dmvids if [ "$MENUCMD" = "tofi" ] then - menucmd="tofi --width 30% --height 30%" + menucmd="tofi --width 30% --height 30% --matching-algorithm normal" elif [ "$MENUCMD" = "dmenu" ] then menucmd="dmenu -l 10 -g 1 -x -i" diff --git a/config/hyprland/tofi/themes/nord b/config/hyprland/tofi/themes/nord index dae003b..cf78b5c 100644 --- a/config/hyprland/tofi/themes/nord +++ b/config/hyprland/tofi/themes/nord @@ -29,6 +29,7 @@ padding-left = 0 # padding-left = 7% padding-right = 0 +matching-algorithm = prefix require-match = false auto-accept-single = true hidden-character = "" -- cgit v1.2.3