Xil - X Interface Loader

X Interface Loader is a Tcl/Tk (I don't like it much either, but, hey, it was quick)
X11 Window Manager chooser/manager.  Users are provided with a simple GUI to choose a
Window Manager.  Facilities are also provided for choosing a random window manager, or
a default window manager after n miliseconds delay.

Based on the config, window managers will either be run, or managed.  Run means that
Xil will exec and die.  Managed means Xil will stay open, allowing switching between
mutually exclusive window managers (i.e. Enlightenment has no facilities for
restarting to Afterstep).

Interface:
Click on a button, the command you inserted for that slot is run.  Click on quit and
Xil will quit, probably taking your X session with it. :)

Configuration:
Xil looks for ~HOME/.xil or /etc/X11/app-defaults/Xil  Have one of those files.

Xil has a simple config, and an example is provided.  Here is a rundown on config
options:

default:<windowmanager> <&>
This specifies the default, which is only used if the following item is set.  The
ampersand (&) means that it will exec and die, leaving you stranded in
<windowmanager>.  If you leave out the & it will manage the selection. :)

timer:<ms>
This is the delay it will wait before using default, or random choosing.  If this is
set, and a default is not, random selection will be automatically used.

+<WM-TITLE> "<cmd-or-path-to-manager with-these-args <&>>"
This is the heart of the config. <WM-TITLE> is what will appear as the button label on
your button.  The command, and args, and possibly an ampersand goes in quotes right
after.  It runs that when clicked.  Well, not exactly that... Xil handles the
ampersand itself.  An ampersand means you do NOT want the manager managed (you're
stuck with it).

Xil is NOT forgiving of extra spaces.  Just follow this format and it should be pretty
bug free. (I hope, if not, mail me your config, and describe the symptoms).

Running it:
I have it in /etc/X11/xinit/xinitrc, but any way you can get it started is good :)
Xil will become VERY confused if you launch it from an X session with a window manager
already in place.

Copying, use, legal junk:
This software is provided "as is" without any assurances of proper execution/running.
The author will not be held responsible for ANYTHING this program does to ANYTHING of
yours, including you.  This software is also free. By running xil you agree to this
copying and use info.  This program is also entirely unsupported.  Unless I have some
free time, you're on your own if you have problems.

The code:
This is my first shot at Tcl/Tk.  It is probably remarkably inefficient for Tcl, but I
did my best.

To be done:
Nothing, unless I find some free time.  If you have a LOT of enlightenment themes, or
something, you might want scroll bars.  Oh well. :)
