notification espace disque faible
This commit is contained in:
parent
719cb63aef
commit
8aed42b296
13
borg-gui.sh
13
borg-gui.sh
@ -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\
|
||||
|
Loading…
Reference in New Issue
Block a user