From f35caa6cdef2d2f0772e92a1cc49546c8a95dab1 Mon Sep 17 00:00:00 2001 From: punix Date: Wed, 15 Nov 2023 21:00:35 +0100 Subject: [PATCH] =?UTF-8?q?nachrichtenfarbe=20ende=20ge=C3=A4ndert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wg_stop | 2 +- wire_g | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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