From a65773b7ff255cfd8311ec6c6addc33ebada60f0 Mon Sep 17 00:00:00 2001 From: punix Date: Fri, 10 Nov 2023 23:07:50 +0100 Subject: [PATCH] Notify korrektur 3 --- wire_g | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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" }