-1
Good morning, everyone,
I have some problems with the use of YAD. I have a super functional and very useful shellscript. Now I’m trying to put it in a graphical interface to look really nice and stylish. Problem is that the script uses outputs of several files, something I’m not able to do with YAD :/
placa=$(iwconfig | cut -d" " -f 1> interface.txt)
yad --list --title="Interfaces de rede sem fio" --width=600 --heigth=800 --print-all $(cat inteface.txt | egrep -o "\w{1,}")
My real intention would be to put something like:
placa=$(iwconfig | cut -d" " -f 1> interfaces.txt)
yad --radiolist --title="Interfaces de rede" \
--text "Escolha uma interface"\
--column "Placas"\
--width=600 --heigth=800\
false $(sed -n '1' interface.txt | egrep -o "\w{1,}")\
true $(sed -n '2' interface.txt | egrep -o "\w{1,}")
Can someone shed some light on me? I can’t find any material with that kind of content!