modification du chemin des icônes
This commit is contained in:
parent
4c84393971
commit
06067ffe96
@ -20,7 +20,7 @@ export BORG_RELOCATED_REPO_ACCESS_IS_OK=yes
|
|||||||
dossierprofil="$HOME/.config/borg/profils-borg-zenity/"
|
dossierprofil="$HOME/.config/borg/profils-borg-zenity/"
|
||||||
W="--width=600"
|
W="--width=600"
|
||||||
H="--height=500"
|
H="--height=500"
|
||||||
iconborg="--window-icon=$HOME/.icons/borg.svg"
|
iconborg="--window-icon=/usr/share/icons/borg.svg"
|
||||||
|
|
||||||
# FONCTIONS
|
# FONCTIONS
|
||||||
#################################################################################
|
#################################################################################
|
||||||
@ -227,7 +227,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 $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
|
fusermount -uz $ptnmontage && sleep 2 && rmdir $ptnmontage
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user