> Echo $[pict-0-$[page.nx]-$[page.ny]]

 gives

 > [FVWM][Echo]:  $[pict-0-$[page.nx]-0]



Anyway, if you add additional dollar at the beginning:

  Echo $$[pict-0-$[page.nx]-$[page.ny]]

it will be expanded as you want (I hope so, because you didn't say what
you want to get):

  [FVWM][Echo]:  $[pict-0-2-3]

Actually, then I want *that* to be expanded. I guess I can do that with a two-step process.

What I want is first to

SetEnv pict-$$d-$[page.nx]-$[page.ny] 1

(that works, I tried)
and then be able to test it in

Exec if [ $[pict-$$d-$[page.nx]-$[page.ny]] -ne 1 ] ; then xvirtualroot -f <picture for this desk and page>


Ultimate goal: integrate FvwmBacker & xvirtualroot to get background picture per desktop & maybe per page. Something like

*FvwmBacker: Command (Desk *,Page * *) Function ChangeDesk
DestroyFunc ChangeDesk
AddToFunc ChangeDesk
+ I Exec if [ $[pict-$$d-$[page.nx]-$[page.ny]] -ne 1 ] ;
             then xvirtualroot -f   $[HOME]/.fvwm/$$d.xpm
                             -xrm "*Desk: $$d $[page.nx] $[page.ny]" ; fi
+ I SetEnv pict-$$d-$[page.nx]-$[page.ny] 1


--
Victor Eijkhout <[EMAIL PROTECTED]>
tel: 865 974 9308 (W), 865 673 6998 (H), 865 974 8296 (F)
http://www.cs.utk.edu/~eijkhout/
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to