diff --git a/wire_g b/wire_g index 18ca334..5b384a3 100755 --- a/wire_g +++ b/wire_g @@ -166,21 +166,21 @@ more(){ a_user=$(whoami) wg_pic="/home/$a_user/.icons/" version=3.0.8 - selection=$(yad --text=$"Wire-G Author: Désiré Werner Menrath \n -E-Mail: polunga40@unity-mail.de \n -At all tunnels, the auto start is disabled"!" \n -Version: $version \n -Use without warranty"!" \n -Download Wire-G \n - " \ - --height=100 --width=80 \ + selection=$(yad --height=100 --width=80 \ --title="Wire-G" --center \ --fixed --borders=8 --close-on-unfocus \ --buttons-layout=center --text-align=center \ --button=$"Import":"bash -c import_wg" \ --button=$"Wire-G Stop":"bash -c up_or_down" \ --button=$"Cancel":1 \ - --separator="" --window-icon=${wg_pic}wg-vpn.png) + --separator="" --window-icon=${wg_pic}wg-vpn.png \ + --text=$"Wire-G Author: Désiré Werner Menrath \n +E-Mail: polunga40@unity-mail.de \n +At all tunnels, the auto start is disabled"!" \n +Version: $version \n +Use without warranty"!" \n +Download Wire-G \n") + } export -f more @@ -210,11 +210,12 @@ if selection=$(yad --no-click --list \ --button=$"More":"bash -c more" --button=$"Remove":"bash -c remove" --separator="" \ --window-icon=${wg_pic}wg-vpn.png \ --borders=8 --image-on-top --image=${wg_pic}wg-active.png \ - --text="Activ Tunnel: $active + --column=$"Selection" $tunnel \ + --text=$"Activ Tunnel: $active ---------------------------------------------------------------------------------- If no tunnels are listed, -so they have to import their tunnel beforehand." \ - --column=$"Selection" $tunnel) +so they have to import their tunnel beforehand.") + then if [[ -n $active ]]