FVWM: Escaping calls to State and Infosostore in piperead
Peter Holm <[email protected]>
| Newsgroups | gmane.comp.window-managers.fvwm |
|---|---|
| Message-ID | <CAOZhre00tWmyQb4FmJVvd9Y-9zf9q1HqLUaAuQ8o_bTG7uLXLA@mail.gmail.com> |
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.