diff --git a/wire_g b/wire_g index 9deaeca..5729977 100755 --- a/wire_g +++ b/wire_g @@ -215,17 +215,17 @@ connect(){ ############################################################################################################ # --text "Aktiver Tunnel: $active # mit gewünschtes wort wird fett geschrieben. # Farbe für Variable $active festgelegt mit fetter Schrift. (bei --text zwischen " ") -if selection=$(yad --list --center \ - --height=300 --width=60 --title="Wire-G" \ - --buttons-layout=center \ - --button=$"OK" --button=$"Stop":"bash -c up_or_down" \ - --button=$"Import":"bash -c import_wg" \ - --field=$"Remove:0""bash -c remove" --separator="" \ - --button=$"About":"bash -c about" \ - --window-icon=${wg_pic}wg-vpn.png \ - --borders=8 --image-on-top --image=${wg_pic}wg-active.png \ - --column=$"Selection" $tunnel \ - --text=$"Activ Tunnel: $active +if selection=$(yad --no-klick --list --center \ + --height=300 --width=60 --title="Wire-G" \ + --buttons-layout=center \ + --button=$"OK" --button=$"Stop":"bash -c up_or_down" \ + --button=$"Import":"bash -c import_wg" \ + --form --field=$"Remove:0""bash -c remove" --separator="" \ + --button=$"About":"bash -c about" \ + --window-icon=${wg_pic}wg-vpn.png \ + --borders=8 --image-on-top --image=${wg_pic}wg-active.png \ + --column=$"Selection" $tunnel \ + --text=$"Activ Tunnel: $active ---------------------------------------------------------------------------------- If no tunnels are listed, so they have to import their tunnel beforehand.")