how to make a Yad split window, upper split = text and lower split = progress bar?
0
votes
1
answer
944
views
I can't work out how to make a Yad split window, upper split = text and lower split = progress bar? My attempt below failed.
id=$(echo $[($RANDOM % ($[10000 - 32000] + 1)) + 10000] )
Settings=$(cat ~/tmp/YadWindow4SelectedSettings.txt)
{
echo 25
echo "#25%"
echo 50
echo "#50%"
echo 75
echo "#75%"
echo 100
echo "#100%"
} |
yad --plug=$id --tabnum=1 --progress --auto-close --auto-kill --center --width=700 --image=$ICON --image-on-top --title="Loading..." --percentage=0 &> res1 &
yad --plug=$id --tabnum=2 --text="$Settings" &> res2 &
yad --length=800 --width=800 --center --paned --key=$id --splitter="200"
Asked by Giles
(897 rep)
Apr 28, 2017, 11:40 PM
Last activity: Nov 17, 2018, 12:17 AM
Last activity: Nov 17, 2018, 12:17 AM