change continue to use search history so sorting works as intended

This commit is contained in:
ksyasuda
2022-02-09 20:52:54 -08:00
parent 024bb138f0
commit 9f80566b6e
2 changed files with 5 additions and 5 deletions

View File

@@ -114,7 +114,7 @@ get_quality() {
if ((IS_ROFI == 1)); then
selection=$(rofi -dpi "$DPI" -dmenu -config "$CFG_FILE" \
-l 6 -selected-row 0 -a 0 \
-theme-str 'listview {columns: 1;} window {width: 20%;}' \
-theme-str 'listview {columns: 1;} window {width: 25%;}' \
-p "Choose video quality:" \
-sep '|' -only-match <<< "$QUALITIES")
QUALITY=$(awk '{print $2}' <<< "$selection")