Re: FVWM: Function to set dynamic menu title

From: Frank Gruellich <frank_at_home.manuelm.org>
Date: Wed, 18 Feb 2004 08:38:49 +0100

Hello,

* Ryan Daly <daly_at_ctcnet.net> 17. Feb 04:
> Thomas Adam said:
> 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'

Why are you saving the hostname in ~/.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

And delete it immediately? What about

 + I PipeRead 'echo AddToMenu JizzBoneMenu `/bin/hostname -s` Title'

?

HTH,
 regards, Frank.
-- 
Sigmentation fault
--
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 Wed Feb 18 2004 - 01:44:28 GMT

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