Meldungsfenster fehlschlag import korrektur (icon)
This commit is contained in:
parent
4014fff602
commit
0f540eaa73
4
wire_g
4
wire_g
@ -97,7 +97,7 @@ import_wg(){
|
|||||||
nmcli connection import type wireguard file $wgconf &> ${wg_wdir}.tmp.txt
|
nmcli connection import type wireguard file $wgconf &> ${wg_wdir}.tmp.txt
|
||||||
wg_notify
|
wg_notify
|
||||||
|
|
||||||
else
|
i else
|
||||||
nmcli connection import type wireguard file $wgconf &> ${wg_wdir}.tmp.txt
|
nmcli connection import type wireguard file $wgconf &> ${wg_wdir}.tmp.txt
|
||||||
wg_notify
|
wg_notify
|
||||||
|
|
||||||
@ -105,7 +105,7 @@ import_wg(){
|
|||||||
fi ;;
|
fi ;;
|
||||||
|
|
||||||
*) yad --text-align=center --button=$"OK" --title=$"Wireguard .conf Select file" \
|
*) yad --text-align=center --button=$"OK" --title=$"Wireguard .conf Select file" \
|
||||||
--image-on-top --image=${wg_pic}wg-info.png \
|
--image-on-top --window-icon=${wg_pic}wg-stop.png --image=${wg_pic}wg-info.png \
|
||||||
--fixed --center --buttons-layout=center --borders=8 \
|
--fixed --center --buttons-layout=center --borders=8 \
|
||||||
--text $"<b>Oh, something went wrong.</b> \n
|
--text $"<b>Oh, something went wrong.</b> \n
|
||||||
<b>No valid Wireguard file.</b> \n
|
<b>No valid Wireguard file.</b> \n
|
||||||
|
Loading…
x
Reference in New Issue
Block a user