diff --git a/wire_g b/wire_g index 5837672..8947ac2 100755 --- a/wire_g +++ b/wire_g @@ -95,17 +95,17 @@ remove(){ success=$(grep -i "erfolgreich gelöscht" ${wg_wdir}.tmp.txt) if [ "$?" = "0" ] then - yad --window-icon=${wg_pic}wg-trash.png \ - --image-on-top --image=${wg_pic}wg-info.png \ - --text="Oh etwas ging schief.\nBitte Tunnel im Networkmanager löschen." \ - --text-align=center --button="OK" --title "Wire-G Trash" \ - --fixed --center --buttons-layout=center --borders=8 --center - else yad --window-icon=${wg_pic}wg-trash.png \ --image-on-top --image=${wg_pic}wg-info.png \ --text="Ihr Tunnel $selection wurde erfolgreich gelöscht.\n" \ --text-align=center --button="OK" --title "Wire-G Trash" \ --fixed --center --buttons-layout=center --borders=8 --center + else + yad --window-icon=${wg_pic}wg-trash.png \ + --image-on-top --image=${wg_pic}wg-info.png \ + --text="Oh etwas ging schief.\nBitte Tunnel im Networkmanager löschen." \ + --text-align=center --button="OK" --title "Wire-G Trash" \ + --fixed --center --buttons-layout=center --borders=8 --center fi if [ $selection = $active ] then