Thomas Adam said:
> PipeRead allows you to use external process to interpolate (usually) for
> Fvwm commands. What you probably want is something like:
>
> + "I" PipeRead "AddToMenu StartMenu 'echo `/bin/hostname -s`' Title
OK, that put me on the right track. The entire function that I'm using is:
AddToFunc "CreateStartMenu"
+ "I" DestroyMenu JizzBoneMenu
+ "I" PipeRead 'echo `/bin/hostname -s` > $HOME/.fvwm/.hostname'
+ "I" PipeRead 'echo "AddToMenu JizzBoneMenu `/bin/cat
$HOME/.fvwm/.hostname` Title"'
+ "I" PipeRead '/bin/cat $HOME/.fvwm/.startmenu'
+ "I" /bin/rm $HOME/.fvwm/.hostname
I just needed to put "PipeRead 'echo ..." in front of the entire line.
Thanks for the help!
--
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 Tue Feb 17 2004 - 19:44:34 GMT