remove case to translate open in Notify
This commit is contained in:
parent
ff2119c7c7
commit
f74c153b76
@ -29,12 +29,6 @@ nmcli connection up "$WG_START"
|
||||
nmcli connection show --active | grep -iPo "(.*)(wireguard)" | sed 's/ .*//' &> ${WG_WDIR}onstart.txt
|
||||
ACTIVE=$(nmcli connection show --active | grep -iPo "(.*)(wireguard)" | sed 's/ .*//')
|
||||
|
||||
# case $LANG in
|
||||
#
|
||||
# de_DE.UTF-8) OPEN=öffnen ;;
|
||||
#
|
||||
# *) OPEN=open ;;
|
||||
# esac
|
||||
yad --image-on-top --image=${WG_PIC}wg-vpn-info.png \
|
||||
--undecorated --borders=8 --skip-taskbar \
|
||||
--text-align=center --no-buttons --auto-close \
|
||||
|
5
wire_g
5
wire_g
@ -40,12 +40,7 @@ wg_notify(){
|
||||
sleep 1
|
||||
nmcli connection show --active | grep -iPo "(.*)(wireguard)" | sed 's/ .*//' &> ${WG_WDIR}onstart.txt
|
||||
ACTIVE=$(nmcli connection show --active | grep -iPo "(.*)(wireguard)" | sed 's/ .*//')
|
||||
case $LANG in
|
||||
|
||||
de_DE.UTF-8) OPEN=öffnen ;;
|
||||
|
||||
*) OPEN=open ;;
|
||||
esac
|
||||
yad --image-on-top --image=${WG_PIC}wg-vpn-info.png \
|
||||
--undecorated --borders=8 --skip-taskbar \
|
||||
--text-align=center --no-buttons --auto-close \
|
||||
|
Loading…
x
Reference in New Issue
Block a user