Re: FVWM: 'Maximize grow grow' automatically.

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Mon, 29 Jul 2002 11:54:38 +0200

On Mon, Jul 29, 2002 at 03:48:51AM -0600, Rob 'Feztaa' Park wrote:
> Hello,
>
> Often I find it convenient to open four xterms and start doing work with
> them, so I have this menu item on one of my menus:
>
> + "4 XTerms" Exec exec xterm & xterm & xterm & xterm
>
> But, unfortunately, they do not cover the entire screen, so I have to
> 'Maximize grow grow' them all as soon as they open. Since this is always
> the first thing I do with them, and I've never done anything else, I
> figured I might as well get fvwm to grow them for me. Would it be
> possible to do this, without affecting the behavior of the other xterms
> that I open individually?

Try this:


  addtofunc XtermCreateGrow
  + i exec exec xterm
  + i wait xterm
  + i next (xterm) maximize grow grow

  addtofunc Create4XTerms
  + I XtermCreateGrow
  + I XtermCreateGrow
  + I XtermCreateGrow
  + I XtermCreateGrow

  AddToMenu foobar
  + "4 XTerms" Create4XTerms

However, it's really better to provide the xterms with the proper
geometry manually. The "Next" command can not guarantee that the
command is applied to the correct window.

Bye

Dominik ^_^ ^_^

 --
Dominik Vogt, mail: dominik.vogt_at_schlund.de, phone: 0721/91374-382
Schlund + Partner AG, Erbprinzenstr. 4-12, D-76133 Karlsruhe
--
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 Mon Jul 29 2002 - 04:56:03 BST

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