From 6b7f31d7950f2883518dbb348300e29de526955e Mon Sep 17 00:00:00 2001 From: fred Date: Thu, 23 Feb 2023 01:42:43 +0100 Subject: [PATCH] Choix du PLAYER --- ajouter_media.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ajouter_media.sh b/ajouter_media.sh index 5366c26b..6800d395 100755 --- a/ajouter_media.sh +++ b/ajouter_media.sh @@ -45,7 +45,7 @@ CHOICE="$3" players=($(ls ~/.zen/game/players | grep -Ev "localhost" 2>/dev/null)) [[ ${#players[@]} -ge 1 ]] \ -&& espeak "SELECT YOUR PLAYER" && OUTPUT=$(zenity --entry --width 640 --title="Astroport" --text="ASTRONAUTE" --entry-text="${players[@]}") \ +&& espeak "SELECT YOUR PLAYER" && OUTPUT=$(zenity --list --width 480 --height 200 --title="Choix du PLAYER" --column="Astronaute" "${players[@]}") \ || OUTPUT="${players}" PLAYER=$OUTPUT