Tom,
This seemed to simple since it sounds like you know your way around your
rc file but could you do something like
AddToFunction MyRestart
+ "I" echo $1
+ "I" Restart $HOME/RunWM
AddToMenu RestartMenu
+ "I" MyRestart FvwmFoo
+ "I" MyRestart FvwmBar
That would call a function that could do both.
Brad
On Fri, Jan 14, 2000 at 01:44:17PM -0500, Thomas A. Gardiner wrote:
> This looks like it should work but again the menu item chosen would need
> to do two things, set an environment variable and restart fvwm. If I
> could make this work I couls also make other things work.
>
> For example, in bash (and most other shells ) I can do composite commands
> like cd /foo/bar ; echo hi > there ; cat there
>
> 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
>
>
--
--- There are two kinds of knowledge, you either know the answer or
you know where to find it
-Kane, Johnson, and anonymous
--
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 Jan 17 2000 - 05:34:06 GMT