So far I am using tee together with a variable which that yad dnd element is piped to. This gives two pipes out of the dnd. When I want only the tee output I redifine the variable to tap=/dev/null . It works. But I found that I can also define the output of the dnd by association, dndout=$(yad --dnd | tee /tmp/outdnd &>$tap &) &, and seems to work without affecting its function in the --notebook gui.
I want to know how many pipes I can feed to without using tee... is this possible in theory
Code: Select all
dndout=$(yad --plug=$$ --tabnum=2 --dnd &>$tap &>$apt &>$pat &) &
Code: Select all
yad --listen --plug=$$ --tabnum=1 --item-separator=" " --form --cycle-read --columns=2 --field=A --field=0 --field=1 --field=2 --field=3 --field=4 --field=5 --field=6 --field=7 --field=8 --field=9 --field=10 <& 2 &
yad --plug=$$ --tabnum=2 --text="\t\t\t\t\t\t\tDnD panel\n\tClick a button\n\tThen Drag the mac address here!" --dnd | tee $pat 1>$tap &
yad --geometry=$(cat $camino/geometry/$WINDOWTITLE) --title="$WINDOWTITLE" --title=Bluetooth --window-icon=$pics/bluetooth-active.png --key=$$ --columns=2 --paned --height=220 --width=300 --tab=Found --tab=DnD --button="Command":"echo command" --button="Scan":"echo btscanfn" --button="Remove":"echo rmdev" --button="Connect":"echo btcon" --button="Disconnect":"echo btdisconfn" 1>/tmp/Wifi-TrayNet/btfn &