diff options
-rwxr-xr-x | clerk | 2 | ||||
-rw-r--r-- | config.clerk | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -424,7 +424,7 @@ currentMenu () { if [[ $menu == "1 [ Browse Albums ]>" ]]; then filter=$(mpc current -f '%artist%') firstsong=$(mpc -f '%album% %album%' search artist "$(mpc current -f '%artist%')" album "$(mpc current -f '%album%')" | head -1) - album_entry="$firstsong" filter="$filter" addAlbum alphabet + album_entry="$firstsong" filter="^$filter " addAlbum alphabet elif [[ $menu == "2 [ Browse Tracks ]>" ]]; then filter=$(mpc current -f '%artist%') diff --git a/config.clerk b/config.clerk index 6363093..6f847f3 100644 --- a/config.clerk +++ b/config.clerk @@ -1,6 +1,6 @@ # rofi command. Make sure to have "$@" as last argument _rofi () { - rofi -dmenu -i -lines 30 -width 1500 -no-levenshtein-sort "$@" + rofi -regex -i -lines 30 -width 1500 -no-levenshtein-sort "$@" } # custom mpd host |