Re: FVWM: Function to set dynamic menu title

From: Rainer Koehler <koehler_at_mpia-hd.mpg.de>
Date: Wed, 18 Feb 2004 15:42:13 +0100 (CET)

Ryan Daly writes:

> Rainer Koehler said:
>> This is such a big mess that I can't keep my mouth shut...
>> No offense, but I think someone should explain to you what you're
>> actually doing here.

> Sorry for not posting my completed function. That function was obviously
> just for debugging purposes so I could see that things were working.

No problem, and thanks for posting the final (?) function. There are
other users here who should see it, and not just some intermediate
version.

> My completed function is as follows:

> AddToFunc "CreateStartMenu"
> + "I" DestroyMenu StartMenu
> + "I" PipeRead 'echo "AddToMenu StartMenu `/bin/hostname -s` Title"'
> + "I" PipeRead '/bin/cat $HOME/.fvwm/.startmenu'

Ok, so why don't you use $HOST instead of calling hostname, and why
don't you use Read instead of PipeRead to read .startmenu? There
might very well be good reasons to do it your way, I just want to
know...

Rainer
--
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 - 08:44:28 GMT

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