test2
This commit is contained in:
2
wire_g
2
wire_g
@ -43,7 +43,7 @@ wg_notify(){
|
||||
a_user=$(whoami)
|
||||
active=$(nmcli connection show --active | grep -iPo "(.*)(wireguard)" | sed 's/ .*//')
|
||||
wg_pic="/home/$a_user/.icons/"
|
||||
notify-send --icon={wg_pic}wg-vpn.png $"$active powered"
|
||||
notify-send --icon={wg_pic}wg-vpn.png $"$active powered."
|
||||
# autoconnect wird hier abgeschalten damit auch neu importierte nach einem Systemneustart nicht aktiv sind
|
||||
nmcli con mod $active connection.autoconnect no
|
||||
# ab hier beginnt yad notify
|
||||
|
Reference in New Issue
Block a user