I just sent out an e-mail to the list last week about a perl script I wrote 
that does exactly this with images.  You define in the script where you
want it to start and it recursively goes through a directory structure
and creates nested blackbox menus for all images that it finds in those
directories.  It even automagically figures out on the fly which images
it finds are included in themes already and puts those in their own
sub-menu.  It recreates the blackbox menus automagically at run-time, so
you run it once and forget about it. And it marks the last-set image
with ">> picture-name <<", so you know what the last picture was that you
picked for your background image.

My point is that this is already traversing a directory tree and
automagically creating blackbox menus on the fly.  It would be 33% less
effort than raising your eyebrows to change this perl script to parse
out ~/blackbox-programs-that-I-want-to-make-menus-for and have it create
blackbox menus for you on the fly.

Anyone interested and lazy, let me know and I'll re-send the e-mail.
Anyone interested and clueful, check the mailing list archive for it
(http://www.mail-archive.com/[email protected]) or some-such, I
believe....

* After finishing his most recent algebra assignment, Chris de Vidal 
([EMAIL PROTECTED]) did break forth in song on 07/17/01 at 11:59 and proclaim in a 
loud and joyful melody:
> > BTW - thanks all for BlackBox!  I tried Mandrake 8
> > and KDE to see what the
> > new distributions were like, but after a while
> > random funkiness crept into
> > the system
> 
> You can still use BlackBox with with Mandrake 8, as I
> do.
> 
> But I agree!!  Thanks for writing a Window Manager
> that WORKS!!!  A Window Manager that doesn't NEED to
> have other Window Managers installed (WTF is up with
> that??)  A Window Manager that is light, fast, and
> even has eye candy!
> 
> A question - Does anyone know a way to click INSIDE an
> application and raise it?  I am using a key binding
> with BBKeys.  But that is probably the only feature I
> miss in Windows and other, bloated Window Managers. 
> Auto-raise doesn't work for me.  I like to know I am
> raising a window by clicking.
> 
> I'd like to see the black-box menu file could be more
> configurable by using a real folder structure
> somewhere on the hard drive, like in Windows. 
> Something like a #include in the menu file, then the
> folder that was #include-ded would be ls-ed and then
> used in the menu.  One could drop actual programs,
> symlinks, documents, whatever, into a logical layout
> and then *boom* have a menu.  One could even set up a
> two-folder structure - a read-only (but
> root-writeable) section with programs available to
> everyone, and a personal section in the user's home
> directory.
> 
> At the very least, I would like to see a menu builder
> that simply scans a chosen folder and builds the menu
> file that way.
> 
> I can't program worth jack or I'd bang one out.  It
> sounds relatively straightforward but I've yet to see
> any equivalent in the Unix world.  Why not make
> BlackBox the first?
> 
> Anyways, thanks again, without the said improvements,
> this Window Manager is still top notch!!
> 
> CD
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
> 

-- 
----%<----------%<----
Jason Kasper (vanRijn)
bash$ :(){ :|:&};:
Numbers 6:24-26

Reply via email to