opensubscriber
   Find in this group all groups
 
Unknown more information…

f : fvwm@lists.math.uh.edu 9 July 2009 • 2:00PM -0400

Re: FVWM: Perl Module question (EwmhBaseStruts info)
by Kathryn Andersen

REPLY TO AUTHOR
 
REPLY TO GROUP




On Tue, Jul 07, 2009 at 02:07:31PM -0700, Jason Weber wrote:
> Anyhow, FvwmProxy won't create your layout, but if you stick them together,
> it will keep them stuck.  If you have an idea on how proxy windows could
> be extended to better fit an efficient workflow, I'm ready to listen.

I've been playing around with and looking at FvwmProxy and I love the
"isolate" function for "tabbing" windows.  Alas, from looking at the
code, so far as I can see, the only way of dynamically adding or
removing a window from a group is by clicking on a proxy-window with a
mouse.  That means that it isn't scriptable.  Which means that I can't
use it in the way I want to.

What I would *like* to do, is script (either with FvwmEvent or with a
module) so that when a new window appears, it can be automatically added
to an existing (isolated) group.  That would put me on the way to
auto-tiling and auto-tabbing.

What I would need, as far as I can see, would be ways to script the
following:
- create a new group, dynamically
- find out what groups are on the current page
- add a window, by window-id, to a group
- remove a window, by window-id, from a group

If I could do that, then I could use a combination of FvwmProxy and
FvwmRearrange to do tabbed tiling for me.   For example, for a 2-column
layout:

If one window
        maximize
If two windows
        FvwmRearrange (two columns)
If three windows
        FvwmProxy (Group Window #3 with Window #1)
        FvwmProxy (Isolate Window #1's group)
        FvwmRearrange (two columns)

And so on.

But right now, it looks like I can't do that.

Kathryn Andersen
--
_--_|\     | Kathryn Andersen <http://www.katspace.com>
/      \    |
\_.--.*/    | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
      v     |
------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha!  | -> Earth -> Sol -> Milky Way Galaxy -> Universe

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.