From 2e3646128b3371f2ceecf29eb669dfdd0a4b5959 Mon Sep 17 00:00:00 2001 From: punix Date: Wed, 8 Nov 2023 16:31:56 +0100 Subject: [PATCH] test2 import noch mit else --- wire_g | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wire_g b/wire_g index abb230a..d3eb445 100755 --- a/wire_g +++ b/wire_g @@ -77,6 +77,7 @@ import_wg(){ --button="OK" --button=$"Cancel" \ --width=1200 --height=800 \ --window-icon=${wg_pic}wg-import.png \ + ----filename=*.conf --no-click --title=$"Wireguard .conf Select file") case "$wgconf" in @@ -97,7 +98,7 @@ import_wg(){ else yad --text-align=center --button=$"OK" --title=$"Wireguard .conf Select file" \ - --image-on-top --image=${wg_pic}wg-info.png --no-click --filename=*.conf \ + --image-on-top --image=${wg_pic}wg-info.png \ --fixed --center --buttons-layout=center --borders=8 \ --text $"Oh, something went wrong. \n No valid Wireguard file. \n @@ -107,7 +108,7 @@ import_wg(){ fi ;; *) yad --text-align=center --button=$"OK" --title=$"Wireguard .conf Select file" \ - --image-on-top --image=${wg_pic}wg-info.png --no-click --filename=*.conf \ + --image-on-top --image=${wg_pic}wg-info.png \ --fixed --center --buttons-layout=center --borders=8 \ --text $"Oh, something went wrong. \n No valid Wireguard file. \n