From 3f97aad4b37b567df336f797a39f13331207ca34 Mon Sep 17 00:00:00 2001 From: localhost_frssoft Date: Mon, 4 Apr 2022 01:30:33 +0300 Subject: [PATCH] reorder sub menu items --- funkwhale-cli.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/funkwhale-cli.sh b/funkwhale-cli.sh index f83650f..5a05f3e 100755 --- a/funkwhale-cli.sh +++ b/funkwhale-cli.sh @@ -25,10 +25,10 @@ funkwhale_api_get_tracks_from_channel() while [ $sub2_menu -eq 1 ]; do titles=$(echo $track_list | jj -l 'results.#.title') - menu_podcast_choice=$(echo "Main menu\nBack\n$titles" | fzy) + menu_podcast_choice=$(echo "Back\nMain menu\n$titles" | fzy) case $menu_podcast_choice in - "Main menu") sub2_menu=0 && sub_menu=0 ;; "Back") sub2_menu=0 ;; + "Main menu") sub2_menu=0 && sub_menu=0 ;; *) play_track=$(echo $track_list | jj results.#[title="$menu_podcast_choice"].listen_url) $default_player_command "https://$instance$play_track" ;;