diff --git a/wg_stop b/wg_stop
index 7ab0e81..34080bc 100755
--- a/wg_stop
+++ b/wg_stop
@@ -38,7 +38,7 @@ export TEXTDOMAINDIR="/usr/share/locale"
--undecorated --borders=8 --skip-taskbar \
--text-align=center --no-buttons \
--timeout 4 --timeout-indicator=bottom \
- --text=$""$VALUE" Connection disconnected"
+ --text=$""$VALUE" Connection disconnected" &
fi
done
pkill yad
diff --git a/wire_g b/wire_g
index 01be5a9..f27d16d 100755
--- a/wire_g
+++ b/wire_g
@@ -48,11 +48,11 @@ wg_notify(){
esac
yad --image-on-top --image=${WG_PIC}wg-vpn-info.png \
--undecorated --borders=8 --skip-taskbar \
- --text-align=center --no-buttons \
+ --text-align=center --no-buttons --auto-close \
--timeout 4 --timeout-indicator=bottom \
- --text=$""$ACTIVE" powered"
+ --text=$""$ACTIVE" powered" &
# autoconnect wird hier abgeschalten damit auch neu importierte nach einem Systemneustart nicht aktiv sind
- nmcli con mod "$ACTIVE" connection.autoconnect no
+ nmcli con mod "$ACTIVE" connection.autoconnect no
yad --notification \
--image="${WG_PIC}wg-vpn.png" \