test5 mit remove

This commit is contained in:
Désiré Werner Menrath 2023-11-10 21:05:43 +01:00
parent 694a214919
commit 9a03030bbf

22
wire_g
View File

@ -215,17 +215,17 @@ connect(){
############################################################################################################ # --text "<b>Aktiver Tunnel:</b> <span color='#0fad0a'><b>$active</b></span> # mit <b>gewünschtes wort</b> 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=$"<b>Activ Tunnel: </b> <span color='#0fad0a'><b>$active</b></span>
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=$"<b>Activ Tunnel: </b> <span color='#0fad0a'><b>$active</b></span>
<b>----------------------------------------------------------------------------------</b>
<b>If no tunnels are listed,</b>
<b>so they have to import their tunnel beforehand.</b>")