onstart.txt hinzugefügt

This commit is contained in:
Désiré Werner Menrath 2023-11-19 16:04:54 +01:00
parent 3d27bdde18
commit 9795a8c875
2 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ WG_WDIR="/home/$USER/.config/wg_nmcli/"
# Pfad wg Icons # Pfad wg Icons
WG_PIC="/home/$USER/.icons/" WG_PIC="/home/$USER/.icons/"
ACTIVE=$(nmcli connection show --active | grep -iPo "(.*)(wireguard)" | sed 's/ .*//') ACTIVE=$(nmcli connection show --active | grep -iPo "(.*)(wireguard)" | sed 's/ .*//') &> ${WG_WDIR}onstart.txt
case $LANG in case $LANG in
de_DE.UTF-8) OPEN=öffnen ;; de_DE.UTF-8) OPEN=öffnen ;;

2
wire_g
View File

@ -37,7 +37,7 @@ ACTIVE=$(nmcli connection show --active | grep -iPo "(.*)(wireguard)" | sed 's/
############################################################################################################ ############################################################################################################
wg_notify(){ wg_notify(){
ACTIVE=$(nmcli connection show --active | grep -iPo "(.*)(wireguard)" | sed 's/ .*//') ACTIVE=$(nmcli connection show --active | grep -iPo "(.*)(wireguard)" | sed 's/ .*//') &> ${WG_WDIR}onstart.txt
case $LANG in case $LANG in
de_DE.UTF-8) OPEN=öffnen ;; de_DE.UTF-8) OPEN=öffnen ;;