So I guess for the moment I have to use
      SetEnv  transi 31

I have a number of state "constants" planned to use in short future to
define groups of windows,
groups of behaviors and eh, groups of  groups.


2018-12-26 17:52 GMT+01:00, Thomas Adam <tho...@fvwm.org>:
> Well, that likely requires a code change. I'll do that later on.
>
> Kindly,
> Thomas
>
> On Wed, 26 Dec 2018, 16:35 Peter Holm <peter.g.h...@gmail.com wrote:
>
>> This is more or less a follow up from my earlier question.
>> I have this
>> ---
>> Key             Space           A               M               State
>> $[infostore.transi] True
>> Key             Space           A               C               State
>> $[infostore.transi] False
>>
>> ..
>> AddToFunc StartFunction
>> + I InfostoreAdd  transi 31
>> ....
>>
>>
>> Then when I switch desk/workspace I  let the window(s) follow me
>> ..
>> DestroyFunc GoLeft
>> AddToFunc GoLeft
>> ...
>> + I PipeRead "\
>>         if [ $[page.nx] -gt 0 ]; then\
>>                 echo All '(State 31)' MovetoPage -1p 0p;\
>>                 echo GotoPage -1p 0p;\
>>         elif [ $[desk.n] -eq 0 ]; then\
>> ...
>> I would like to replace
>>                     All '(State 31)'
>> with
>>                     All '(State $[infostore.transi] )'
>> but it makes the GoLeft function  not work
>>
>>
>> Any suggestions.?
>>
>> And why I don't use transient windows instead, well I have further
>> plans to use the state call - which I described shortly in my previous
>> post.
>>
>>
>


-- 
Med vänlig hälsning / With kind regards
 ⼃Pᵉᵗᵉʳ Hᵒˡᵐ

Reply via email to