| 136 |
|
echo "" |
| 137 |
|
echo "Displaying glare sources in '$picture'..." |
| 138 |
|
xglaresrc $picture $glarefile >& /dev/null |
| 139 |
< |
if ($status) then |
| 140 |
< |
x11image =+0+0 -g 2.6 $picture & |
| 141 |
< |
sleep 40 |
| 142 |
< |
xglaresrc $picture $glarefile |
| 139 |
> |
if ($status == 2) then |
| 140 |
> |
echo "Starting ximage..." |
| 141 |
> |
ximage =+0+0 $picture & |
| 142 |
> |
WaitAndTryXglrAgain: |
| 143 |
> |
sleep 10 |
| 144 |
> |
xglaresrc $picture $glarefile >& /dev/null |
| 145 |
> |
if ($status == 2) goto WaitAndTryXglrAgain |
| 146 |
|
endif |
| 147 |
|
endif |
| 148 |
|
set ndxnam=("Guth Visual Comfort Probability" "Guth Disability Glare Ratio" "CIE Glare Index") |