>>>>> "gm" == Graeme McCaffery <mccaffer_at_eee2.bham.ac.uk> writes:
gm> AddToFunc CopyRead "I" Exec exec cp $HOME/.fvwm/$0 $HOME/.fvwm/$1
gm> + "I" Read .fvwm/$1
The only problem with this is that Exec doesn't wait for the process
to finish, so this may not always work...
On a related note, I want to make a second Exec function called
ExecAndWait which will pause until the child is done. But this may be
tricky...
gm> p.s. Chuck could it be possible to make Read default to first
gm> reading the directory where fvwmrc has been specified:
gm> ie
gm> my config is $HOME/.fvwm/fvwmrc
gm> and I want read to start looking for files from $HOME/.fvwm
By default it looks in $HOME first, then in FvwmDir. So if you have
nothing in $HOME for it to find, you should be ok.
It would be pretty easy to have the read function look for an env var
called FVWMHOME or FVWMRCDIR or something like that, and look there
before the $HOME directory. Might not be a bad idea.
Chuck
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Mon Mar 25 1996 - 12:45:34 GMT