mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2024-10-28 04:44:11 -07: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)
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user