notification espace disque faible

This commit is contained in:
Djan GICQUEL 2022-08-11 18:07:41 +02:00
parent 719cb63aef
commit 8aed42b296
1 changed files with 13 additions and 0 deletions

View File

@ -144,6 +144,13 @@ fi
#################################################################################
if [ $menu_avance = "true" ];then
# notification si espace disque faible
if [ $EspaceDisqueUtil -gt $seuil_alerte_espace_disque ];then
zenity --window-icon warning --notification --text="borg-zenity\nEspace disque faible"
fi
# menu avancé
choixmenu=$(echo -e "\
$(echo $MenuCreer)\
ms\nMonter une archive\n\
@ -162,6 +169,12 @@ qu\nQUITTER\
--hide-header --hide-column=1 --column "id" --column "choix")
else
# notification si espace disque faible
if [ $EspaceDisqueUtil -gt $seuil_alerte_espace_disque ];then
zenity --window-icon warning --notification --text="borg-zenity\nEspace disque faible"
fi
# menu simple
choixmenu=$(echo -e "\
$(echo $MenuCreer)\
ms\nMonter une archive\n\