ajout des icônes sur les notifications
This commit is contained in:
parent
bad3277f97
commit
6e9ec568ae
@ -204,7 +204,7 @@ fi
|
|||||||
zenity $W --error --title "borg-zenity erreur" --text "$(cat $log)"
|
zenity $W --error --title "borg-zenity erreur" --text "$(cat $log)"
|
||||||
else
|
else
|
||||||
sync | ZenityPulsate
|
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"
|
zenity $W --info --text "Sauvegarde $nomsauvegarde terminée"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@ -233,7 +233,7 @@ fi
|
|||||||
# Démonter toutes les archives
|
# Démonter toutes les archives
|
||||||
while [ $(mount | grep borgfs | cut -d" " -f3 | head -n 1) ];do
|
while [ $(mount | grep borgfs | cut -d" " -f3 | head -n 1) ];do
|
||||||
ptnmontage="$(mount | grep borgfs | cut -d" " -f3 | head -n 1)"
|
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
|
fusermount -uz $ptnmontage && sleep 2 && rmdir $ptnmontage
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user