diff --git a/wire_g b/wire_g index f802f68..baa8a12 100755 --- a/wire_g +++ b/wire_g @@ -44,10 +44,10 @@ wg_notify(){ wg_pic="/home/$a_user/.icons/" case $LANG in - de_DE.UTF-8) show=aktiv & open=öffnen ;; + de_DE.UTF-8) open=öffnen ;; - *) show=activ & open=open ;; + *) open=open ;; esac notify-send --icon=${wg_pic}wg-vpn.png $"$active powered" # autoconnect wird hier abgeschalten damit auch neu importierte nach einem Systemneustart nicht aktiv sind @@ -56,8 +56,8 @@ wg_notify(){ yad --notification \ --image="${wg_pic}wg-vpn.png" \ --icon-size=32 --no-middle \ - --text="$active" "$show" \ - --menu="Wire-G $open ! sbin/wire_g + --text=$"$active activ" \ + --menu="Wire-G $open!/sbin/wire_g |$active stop!/sbin/wg_stop" \ --command="menu" }