Re: FVWM: Escaping calls to State and Infosostore in piperead

Peter Holm <[email protected]>
Newsgroups gmane.comp.window-managers.fvwm
Message-ID <CAOZhre04BjPnv7xgYRMqT9aEkb4H0f0arkA0YLzSmrXz6o1Azw@mail.gmail.com>
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 <[email protected]>:
> Well, that likely requires a code change. I'll do that later on.
>
> Kindly,
> Thomas
>
> On Wed, 26 Dec 2018, 16:35 Peter Holm <[email protected] 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ᵒˡᵐ
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.