--close-on-unfocus wieder hinzugefügt
This commit is contained in:
parent
16e1969daf
commit
c6d756dc4e
5
wire_g
5
wire_g
@ -113,7 +113,6 @@ import_wg(){
|
|||||||
import_wg ;;
|
import_wg ;;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
kill -0 "$PID" &> /dev/null
|
|
||||||
wire_g
|
wire_g
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -202,7 +201,7 @@ more(){
|
|||||||
version=3.1.0
|
version=3.1.0
|
||||||
selection=$(yad --height=100 --width=80 \
|
selection=$(yad --height=100 --width=80 \
|
||||||
--title="Wire-G" --center \
|
--title="Wire-G" --center \
|
||||||
--fixed --borders=8 \
|
--fixed --borders=8 --close-on-unfocus \
|
||||||
--buttons-layout=center --text-align=center \
|
--buttons-layout=center --text-align=center \
|
||||||
--button=$"Import":"bash -c import_wg" \
|
--button=$"Import":"bash -c import_wg" \
|
||||||
--button=$"Wire-G Stop":"bash -c up_or_down" \
|
--button=$"Wire-G Stop":"bash -c up_or_down" \
|
||||||
@ -213,7 +212,7 @@ more(){
|
|||||||
<span color='#626ff1'><b>At all tunnels, the auto start is disabled.</b></span> \n
|
<span color='#626ff1'><b>At all tunnels, the auto start is disabled.</b></span> \n
|
||||||
<span color='#626ff1'><b>Version: $version </b></span> \n
|
<span color='#626ff1'><b>Version: $version </b></span> \n
|
||||||
<span color='#626ff1'><b>Use without warranty.</b></span> \n
|
<span color='#626ff1'><b>Use without warranty.</b></span> \n
|
||||||
<a href='https://git.lunix.dedyn.io/punix/Wire-G'>Download Wire-G </a> \n") <&3 & PID=$!
|
<a href='https://git.lunix.dedyn.io/punix/Wire-G'>Download Wire-G </a> \n")
|
||||||
|
|
||||||
}
|
}
|
||||||
export -f more
|
export -f more
|
||||||
|
Loading…
Reference in New Issue
Block a user