modification du chemin des icônes

This commit is contained in:
Djan GICQUEL 2022-04-18 17:40:13 +02:00
parent 4c84393971
commit 06067ffe96

View File

@ -20,7 +20,7 @@ export BORG_RELOCATED_REPO_ACCESS_IS_OK=yes
dossierprofil="$HOME/.config/borg/profils-borg-zenity/"
W="--width=600"
H="--height=500"
iconborg="--window-icon=$HOME/.icons/borg.svg"
iconborg="--window-icon=/usr/share/icons/borg.svg"
# FONCTIONS
#################################################################################
@ -227,7 +227,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 $HOME/.icons/borg.svg "borg-zenity" "Démontage de $ptnmontage"
notify-send -i $iconborg "borg-zenity" "Démontage de $ptnmontage"
fusermount -uz $ptnmontage && sleep 2 && rmdir $ptnmontage
done