diff --git a/wg_stop b/wg_stop index fa146b7..7e6c130 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 2 --timeout-indicator=bottom \ - --text=$""$VALUE" Connection disconnected" + --text=$""$VALUE" Connection disconnected" fi done IFS=$'\n' lines=( $(awk '{print $2}' ${WG_WDIR}Notify_PID.txt) ) # Dies zeigt auf die richtige pid diff --git a/wire_g b/wire_g index ca29eb2..81e1db0 100755 --- a/wire_g +++ b/wire_g @@ -49,8 +49,8 @@ wg_notify(){ yad --image-on-top --image=${WG_PIC}wg-vpn-info.png \ --undecorated --borders=8 --skip-taskbar \ --text-align=center --no-buttons --auto-close \ - --timeout 4 --timeout-indicator=bottom \ - --text=$""$ACTIVE" powered" & + --timeout 2 --timeout-indicator=bottom \ + --text=$""$ACTIVE" powered" & # autoconnect wird hier abgeschalten damit auch neu importierte nach einem Systemneustart nicht aktiv sind nmcli con mod "$ACTIVE" connection.autoconnect no