mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2024-11-22 03:19:53 -08:00
update quality selection menu to match aniwapper version
This commit is contained in:
parent
e8809444e3
commit
7ae041e95a
7
ani-cli
7
ani-cli
@ -980,9 +980,10 @@ main() {
|
|||||||
Q)
|
Q)
|
||||||
qualities="best|1080p|720p|480p|360p|worst"
|
qualities="best|1080p|720p|480p|360p|worst"
|
||||||
if ((IS_ROFI == 1)); then
|
if ((IS_ROFI == 1)); then
|
||||||
quality=$(rofi -dmenu -dpi "$DPI" -config "$ROFI_CFG" \
|
choice=$(rofi -dmenu -dpi "$DPI" -config "$ROFI_CFG" \
|
||||||
-i -l 6 -only-match -sep '|' \
|
-i -l 5 -only-match -sep '|' \
|
||||||
-mesg "Choose quality:" <<< "$qualities")
|
-p "Choose quality:" <<< "1. best (default)|2. 1080p|3. 720p|4. 360p|5. worst")
|
||||||
|
quality=$(awk '{ print $2 }' <<< "$choice")
|
||||||
else
|
else
|
||||||
printf "${c_blue}Choose quality: [$qualities]:$c_reset "
|
printf "${c_blue}Choose quality: [$qualities]:$c_reset "
|
||||||
read -r quality
|
read -r quality
|
||||||
|
Loading…
Reference in New Issue
Block a user