This commit is contained in:
Désiré Werner Menrath 2023-11-02 19:24:43 +01:00
parent 271718166f
commit e0763ff3ac
3 changed files with 4 additions and 4 deletions

View File

@ -16,8 +16,8 @@ msgstr ""
"X-Poedit-SearchPath-1: wire_g\n"
#: /home/punix/VSCodium/Wire-G/wire_g
msgid "$activ powered"
msgstr "$activ eingeschaltet"
msgid "$activ powered."
msgstr "$activ eingeschaltet."
#: /home/punix/VSCodium/Wire-G/wire_g
msgid "Cancel"

View File

@ -14,7 +14,7 @@ msgstr ""
"X-Poedit-Basepath: .\n"
#: /home/punix/VSCodium/Wire-G/wire_g
msgid "$activ powered"
msgid "$activ powered."
msgstr ""
#: /home/punix/VSCodium/Wire-G/wire_g

2
wire_g
View File

@ -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