From c766340428a7c25ff07513917a9aa4b86fddb192 Mon Sep 17 00:00:00 2001 From: punix Date: Wed, 15 Nov 2023 17:14:31 +0100 Subject: [PATCH] =?UTF-8?q?active=20Meldung=20und=20Stop=20"&"=20hinzugef?= =?UTF-8?q?=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wg_stop | 2 +- wire_g | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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" \