test2
This commit is contained in:
parent
271718166f
commit
e0763ff3ac
@ -16,8 +16,8 @@ msgstr ""
|
|||||||
"X-Poedit-SearchPath-1: wire_g\n"
|
"X-Poedit-SearchPath-1: wire_g\n"
|
||||||
|
|
||||||
#: /home/punix/VSCodium/Wire-G/wire_g
|
#: /home/punix/VSCodium/Wire-G/wire_g
|
||||||
msgid "$activ powered"
|
msgid "$activ powered."
|
||||||
msgstr "$activ eingeschaltet"
|
msgstr "$activ eingeschaltet."
|
||||||
|
|
||||||
#: /home/punix/VSCodium/Wire-G/wire_g
|
#: /home/punix/VSCodium/Wire-G/wire_g
|
||||||
msgid "Cancel"
|
msgid "Cancel"
|
||||||
|
@ -14,7 +14,7 @@ msgstr ""
|
|||||||
"X-Poedit-Basepath: .\n"
|
"X-Poedit-Basepath: .\n"
|
||||||
|
|
||||||
#: /home/punix/VSCodium/Wire-G/wire_g
|
#: /home/punix/VSCodium/Wire-G/wire_g
|
||||||
msgid "$activ powered"
|
msgid "$activ powered."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: /home/punix/VSCodium/Wire-G/wire_g
|
#: /home/punix/VSCodium/Wire-G/wire_g
|
||||||
|
2
wire_g
2
wire_g
@ -43,7 +43,7 @@ wg_notify(){
|
|||||||
a_user=$(whoami)
|
a_user=$(whoami)
|
||||||
active=$(nmcli connection show --active | grep -iPo "(.*)(wireguard)" | sed 's/ .*//')
|
active=$(nmcli connection show --active | grep -iPo "(.*)(wireguard)" | sed 's/ .*//')
|
||||||
wg_pic="/home/$a_user/.icons/"
|
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
|
# autoconnect wird hier abgeschalten damit auch neu importierte nach einem Systemneustart nicht aktiv sind
|
||||||
nmcli con mod $active connection.autoconnect no
|
nmcli con mod $active connection.autoconnect no
|
||||||
# ab hier beginnt yad notify
|
# ab hier beginnt yad notify
|
||||||
|
Loading…
x
Reference in New Issue
Block a user