Hi,
On Fri, 14 Jan 2000, Dan Espen wrote:
>Does the "-cmd" or "-f" argument to fvwm help? (First read the theme file,
>have the theme file read the .fvwm2rc.)
>
>Or you could export an environment variable and use it in a Read command.
I'm afraid I don't see how I could easily make use of these commands to
get the behavior I want. The .fvwm2rc file is constructed with m4
preprocessing and the decor or theme is included at that level. Since
some of the style commands are order specific it could be a real
programming chore to extract out the decor which is mostly localized, but
has fingers into other parts...
Essentially for the m4 package to work I need to have the name of the
desired decor in the file $HOME/.wm_style. The question is how to get the
name there. Either pass it to a script which echo's it to the file and
does the restart or put it there and then do the restart from fvwm2 (in
that order).
>
>Or you could export an environment variable and use it in a Read command.
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
--
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 - 12:46:58 GMT