On Thu, Feb 09, 2006 at 11:19:21PM +0100, Sander van Dijk wrote: > On 2/9/06, Anselm R. Garbe <[EMAIL PROTECTED]> wrote: > > On Thu, Feb 09, 2006 at 07:11:49PM +0100, Sander van Dijk wrote: > > > Exactly what input data? the characters the user entered or the list > > > it was fed on startup? > > > > No, just the chars the user entered, the list should be known by > > the controller script if it needs the list again. > > In this scheme, who is reposible for executing the selected/entered menu item? > wmiimenu or it's controller script? If it's up to wmiimenu (like it is
The controller script executing wmiimenu. > now), each item will need both a name (which is displayed in the menu) > and an action (which can be different than the name, like with the > rmpage action). If it's up to the controller script, items need just a > name to display in the menu, than after selecting an item and sending > it to stdout the controller script can decide what to do with it. I > guess that's probably the best way, this way wmiimenu becomes more of > a general selection program, not just for things that can be executed Exactly. > by a shell; one could use it to make the user pick a number between 0 > and 9 for instance by starting it with a list of numbers (0-9). Exactly. > Sorry if I'm getting this wrong, but does this mean that the color and > font env vars are gone again? No, only wmiimenu needs to see the env vars. Regards, -- Anselm R. Garbe ><>< www.ebrag.de ><>< GPG key: 0D73F361 _______________________________________________ [email protected] mailing list http://wmii.de/cgi-bin/mailman/listinfo/wmii
