On Thu, Mar 08, 2012 at 01:50:41AM +0400, Roman Grazhdan wrote: > But one thing I'd like to do is undecorating tiled windows. Since > layouts are assigned on per-desktop basis, per-desktop Style would be > great. Is there any way to do that?
Depends what you mean by per-desktop. Is that per page, or per desk? Either way, there's a few ways of doing that which are not at all specific to FvwmPiazza. One such way is to use FvwmEvent when you switch *to* a particular page/desk, it changes the style of windows: DestroyModuleConfig FE:* *FE: new_page DoSomething # XXX -- "DoSomething" should do something different for desks. *FE: new_desk DoSomething AddToFunc StartFunction I Module FvwmEvent FE DestroyFunc DoSomething AddToFunc DoSomething + I PipeRead `[ $[page.nx] = "0" ] && [ $[page.ny] = "4" ] && \ echo "All (CurrentPage, ...) WindowStyle !Title, !Borders"` But the caveat there is there is a lot of flicker -- but that's expected when you're styling windows on the fly. The other way of doing this is to use State, and instead of doing the window layout when you switch desk, test for the window being in a certain place, and give it a State, and hence a known style, which then makes the FvwmEvent idea above obsolete. -- Thomas Adam -- "It was the cruelest game I've ever played and it's played inside my head." -- "Hush The Warmth", Gorky's Zygotic Mynci.