Re: FVWM: Argument Passing?

From: <jtl_at_cs.man.ac.uk>
Date: Fri, 14 Jan 2000 19:33:24 GMT

> Is it possible to use the Restart function to do this
>
> Restart echo FvwmFoo > $HOME/.wm_style ; exec $HOME/RunWM
>
> This would be ideal.
>
> Tom
>

Does my suggested solution of yesterday (Thu, 13 Jan 2000 02:48:59 GMT) not
work?

        AddToMenu WindowManagers
        + "" Title
        + "Fvwm2 Win95-decors" Function SwitchDecor Fvwm95
        + "Fvwm2 Mwm-decors" Function SwitchDecor Mwm
        + "Thingy Foo" Function SwitchDecor Foo
        + "Whatsit Bar" Function SwitchDecor Bar

        AddToFunc SwitchDecor
        + "I" Exec echo $0 > HOME/USER_WM_STYLE
        + "I" Restart HOME/bin/RunWM

I believe the Exec is guaranteed to finish before the Restart begins (can
anyone confirm this?).

John Latham
--
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 Jan 14 2000 - 13:36:52 GMT

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