diff --git a/ani-cli b/ani-cli index 1ee7ed8..717ac7a 100755 --- a/ani-cli +++ b/ani-cli @@ -980,9 +980,10 @@ main() { Q) qualities="best|1080p|720p|480p|360p|worst" if ((IS_ROFI == 1)); then - quality=$(rofi -dmenu -dpi "$DPI" -config "$ROFI_CFG" \ - -i -l 6 -only-match -sep '|' \ - -mesg "Choose quality:" <<< "$qualities") + choice=$(rofi -dmenu -dpi "$DPI" -config "$ROFI_CFG" \ + -i -l 5 -only-match -sep '|' \ + -p "Choose quality:" <<< "1. best (default)|2. 1080p|3. 720p|4. 360p|5. worst") + quality=$(awk '{ print $2 }' <<< "$choice") else printf "${c_blue}Choose quality: [$qualities]:$c_reset " read -r quality