FVWM: Re: grouping windows in WindowList

From: parv <parv_at_pair.com>
Date: Fri, 5 Dec 2003 14:15:50 -0500

in message <20031205173414.GA9265_at_SDF.LONESTAR.ORG>,
wrote Mikhael Goikhman thusly...
>
> On 05 Dec 2003 05:55:40 -0800, Anupam Kapoor wrote:
> >
> > is it possible to group windows in a WindowList ? i.e. all emacs
> > instances together, all xterms together etc.
>
> You may also group applications into sections by any criteria (name/class
> regular expressions) using FvwmWindowMenu module, then application
> sections are separated from each other using horisontal line. But this
> module has some issues yet. Maybe in the future FvwmWindowMenu will
> support section submenus and showing only the first application icon per
> section (if its author or someone else adds these features).

You could also try FvwmIconMan & define the Sort* variables as you
like (to group similar windows). Here is mine...

  DestroyModuleConfig FvwmIconMan: *
  *FvwmIconMan: UseWinList true
  *FvwmIconMan: DrawIcons false
  *FvwmIconMan: Sort weighted
  *FvwmIconMan: Sortweight 1 class=XTerm title=toor*
  *FvwmIconMan: Sortweight 2 class=XTerm title=*vim*
  *FvwmIconMan: Sortweight 3 class=XTerm title=*mutt*
  *FvwmIconMan: Sortweight 3 class=XTerm title=*slrn*
  *FvwmIconMan: Sortweight 4 class=XTerm
  *FvwmIconMan: Sortweight 5 class=XTerm title=*tail*
  *FvwmIconMan: Sortweight 10 class=Netscape*
  *FvwmIconMan: Sortweight 11 class=Mozilla*
  *FvwmIconMan: Sortweight 50
  *FvwmIconMan: Sortweight 80 class=XPerfmon*
  *FvwmIconMan: Sortweight 90 class=Fvwm*
  *FvwmIconMan: Action key Escape N quit

  *FvwmIconMan: Action key Tab N \
    bif Next 3, gotobutton 0, select, ret, gotobutton Next, select

  *FvwmIconMan: Action key Tab S \
    bif Prev 3, gotobutton -1, select, ret, gotobutton Prev, select

  *FvwmIconMan: Action key Left N \
    bif Prev 3, gotobutton -1, select, ret, gotobutton Prev, select

  *FvwmIconMan: Action key Right N \
    bif Next 3, gotobutton 0, select, ret, gotobutton Next, select

  *FvwmIconMan: Action key Up N \
    bif Prev 3, gotobutton -1, select, ret, gotobutton Prev, select

  *FvwmIconMan: Action key Down N \
    bif Next 3, gotobutton 0, select, ret, gotobutton Next, select

  *FvwmIconMan: Action Mouse 0 N \
    sendcommand "Iconify off" , sendcommand Raise , sendcommand Focus , \
    sendcommand "WindowShade false" , sendcommand "WarpToWindow 50 50"


...you could define an instance of FvwmIconMan to be transient

  DestroyModuleConfig FvwmIconMan: transient
  *FvwmIconMan: transient ButtonGeometry 250x0
  *FvwmIconMan: transient ManagerGeometry 1x0+0+0
  *FvwmIconMan: transient Format "%c %t"


...and bind it to a key...

  key l A 4S Module FvwmIconMan transient


...see FvwmIconMan(1) for other details. I do not know or care if
icons will appear as desired.


  - Parv

-- 
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Fri Dec 05 2003 - 13:14:49 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:56 BST