diff --git a/wire_g b/wire_g index 55dc978..f84960d 100755 --- a/wire_g +++ b/wire_g @@ -94,12 +94,11 @@ import_wg(){ fi fi ;; - *) yad --button=$"OK" --title=$"Wireguard .conf Select file" \ - --window-icon=${WG_PIC}wg-stop.png --image=${WG_PIC}wg-info.png \ - --center --buttons-layout=center --borders=8 --width=350 --height=60 \ - --text $"Oh, something went wrong. \n -No valid Wireguard file. \n -Here is an example: my_wireguard.conf \n" + *) yad --image-on-top --image=${WG_PIC}wg-info.png --height=150 --width=240 \ + --text-align=center --undecorated --skip-taskbar \ + --borders=12 --button="OK" --buttons-layout=center \ + --text $"Oh, something went wrong. No valid Wireguard file. \n +Here is an example: my_wireguard.conf" import_wg ;; esac fi } @@ -149,7 +148,7 @@ up_or_down(){ then yad --image-on-top --image=${WG_PIC}wg-info.png \ --text=$"\There is no active Tunnel that you could stop." \ - --text-align=center --no-buttons --title "Wire-G" \ + --text-align=center --no-buttons \ --borders=8 --undecorated \ --timeout 4 --timeout-indicator=bottom --skip-taskbar else