diff --git a/profile-manager.sh b/profile-manager.sh index a7a2a4d..e41720e 100644 --- a/profile-manager.sh +++ b/profile-manager.sh @@ -54,7 +54,7 @@ vars=$(zenity --forms \ nomsauvegarde=$(echo $vars | cut -d\| -f1) profilename=$(echo $vars | cut -d\| -f2) -cat << EOF >> $HOME/.config/borg/"$profilename".txt +cat << EOF >> $HOME/.config/borg/"$profilename".conf nomsauvegarde="$nomsauvegarde" borg_repo="$borg_repo" borg_archive="\$(date +%d_%B_%Y)" @@ -66,7 +66,7 @@ EOF elif [ "$choixmenu" = "ap" ];then # Afficher les profils -fichierprofil=$(ls -1 *.txt | zenity $H $W --window-icon=$HOME/.icons/borg.svg --list --title "Liste des profils" --text "Choisir un profil dans la liste" --hide-header --column "profil") +fichierprofil=$(ls -1 *.conf | zenity $H $W --window-icon=$HOME/.icons/borg.svg --list --title "Liste des profils" --text "Choisir un profil dans la liste" --hide-header --column "profil") zenity $W $H --info --text="$(cd $dossierprofil && cat $fichierprofil)" elif [ "$choixmenu" = "" ];then