From 6e9ec568aee91ce5c0fe28fbfe0afb4bfcbb7411 Mon Sep 17 00:00:00 2001 From: Djan GICQUEL <> Date: Sat, 25 Jun 2022 19:59:25 +0200 Subject: [PATCH] =?UTF-8?q?ajout=20des=20ic=C3=B4nes=20sur=20les=20notific?= =?UTF-8?q?ations?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- borg-gui.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/borg-gui.sh b/borg-gui.sh index 4cd7fab..10c42fa 100755 --- a/borg-gui.sh +++ b/borg-gui.sh @@ -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