diff --git a/wire_g b/wire_g index 5dfd623..bb2a2b7 100755 --- a/wire_g +++ b/wire_g @@ -127,6 +127,8 @@ export -f remove ############################################################################################################ #funktion for active tunnel a stop up_or_down(){ + a_user=$(whoami) + wg_pic="/home/$a_user/.icons/" active=$(nmcli connection show --active | grep -iPo "(.*)(wireguard)" | sed 's/ .*//') if [[ -z $active ]] then