active Meldung und Stop "&" hinzugefügt

This commit is contained in:
Désiré Werner Menrath 2023-11-15 17:14:31 +01:00
parent b18c9ff049
commit c766340428
2 changed files with 4 additions and 4 deletions

View File

@ -38,7 +38,7 @@ export TEXTDOMAINDIR="/usr/share/locale"
--undecorated --borders=8 --skip-taskbar \ --undecorated --borders=8 --skip-taskbar \
--text-align=center --no-buttons \ --text-align=center --no-buttons \
--timeout 4 --timeout-indicator=bottom \ --timeout 4 --timeout-indicator=bottom \
--text=$"<span color='#0fad0a'><b>"$VALUE" Connection disconnected</b></span>" --text=$"<span color='#0fad0a'><b>"$VALUE" Connection disconnected</b></span>" &
fi fi
done done
pkill yad pkill yad

4
wire_g
View File

@ -48,9 +48,9 @@ wg_notify(){
esac esac
yad --image-on-top --image=${WG_PIC}wg-vpn-info.png \ yad --image-on-top --image=${WG_PIC}wg-vpn-info.png \
--undecorated --borders=8 --skip-taskbar \ --undecorated --borders=8 --skip-taskbar \
--text-align=center --no-buttons \ --text-align=center --no-buttons --auto-close \
--timeout 4 --timeout-indicator=bottom \ --timeout 4 --timeout-indicator=bottom \
--text=$"<span color='#0fad0a'><b>"$ACTIVE" powered</b></span>" --text=$"<span color='#0fad0a'><b>"$ACTIVE" powered</b></span>" &
# autoconnect wird hier abgeschalten damit auch neu importierte nach einem Systemneustart nicht aktiv sind # 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