On 05-Dec-2001 Jamin W. Collins wrote:
> On Wed, 2001-12-05 at 15:55, Scott Moynes wrote:
>> This can be done any number of ways without trying to embed a
>> scripting language into the menu parser. This is either the job of
>> your shell, or can be done easily using X resources.
>> 
>> [exec]       (Edit BB Menu)  {rxvt -name editbbmenu -title "Edit BB Menu" -e
su -c
>> "$EDITOR /usr/share/Blackbox/menu"}
>> 
>> is just as effective with the appropriate resources set in you
>> .Xdefaults file.
> 
> Problem with the .Xdefaults option is IIRC, that they are global
> settings.  This leaves the shell option, which I guess should work.
> 
> It was just a thought.
> 
> Jamin W. Collins

Yes, they are global to all rxvt's you launch.  Why not just make a editmenu
shell script which does the work?

Supporting this in the parser is decidedly non-trivial.  Would take a good deal
more convincing.

Reply via email to