ajout des icônes sur les notifications

This commit is contained in:
Djan GICQUEL 2022-06-25 19:59:25 +02:00
parent bad3277f97
commit 6e9ec568ae
1 changed files with 2 additions and 2 deletions

View File

@ -204,7 +204,7 @@ fi
zenity $W --error --title "borg-zenity erreur" --text "$(cat $log)"
else
sync | ZenityPulsate
zenity --notification --text "Sauvegarde $nomsauvegarde terminée"
zenity $iconborg --notification --text "Sauvegarde $nomsauvegarde terminée"
zenity $W --info --text "Sauvegarde $nomsauvegarde terminée"
fi
fi
@ -233,7 +233,7 @@ fi
# Démonter toutes les archives
while [ $(mount | grep borgfs | cut -d" " -f3 | head -n 1) ];do
ptnmontage="$(mount | grep borgfs | cut -d" " -f3 | head -n 1)"
notify-send -i $iconborg "borg-zenity" "Démontage de $ptnmontage"
zenity --notification $iconborg --text="Démontage de $ptnmontage"
fusermount -uz $ptnmontage && sleep 2 && rmdir $ptnmontage
done