gettext test
This commit is contained in:
6
wire_g
6
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 gettext 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
|
||||
@ -208,10 +208,10 @@ if selection=$(yad --no-click --list \
|
||||
--button=$"More":"bash -c more" --button=$"Remove":"bash -c remove" --separator="" \
|
||||
--window-icon=${wg_pic}wg-vpn.png \
|
||||
--borders=8 --image-on-top --image=${wg_pic}wg-active.png \
|
||||
--text=$"<b>Activ Tunnel: </b> <span color='#0fad0a'><b>$active</b></span>
|
||||
--text="<b>(Activ Tunnel): </b> <span color='#0fad0a'><b>$active</b></span>
|
||||
<b>----------------------------------------------------------------------------------</b>
|
||||
<b>If no tunnels are listed,</b>
|
||||
<b>so they have to import their tunnel beforehand.</b>" \
|
||||
<b>so they have to import their tunnel beforehand.)</b>" \
|
||||
--column=$"Selection" $tunnel)
|
||||
then
|
||||
|
||||
|
Reference in New Issue
Block a user