BBDock is an application launcher for Blackbox (and others) that allows you to create application buttons in the slit/dock.
Also, the raise-window function is available to window managers which implement the EWMH specification.
Note: there is a trancparency issue with blackbox 0.70. A workaround is this
Slit.cc replacement (place into blackbox-0.70/src/).
You may invoke BBDock either with your icons specified on command line or simply create a short configuration file (.bbdockrc) in your home directory.
The syntax for a command-line-argument or a line in the configuration file is equal:
IMAGEFILE - should be path and filename of some PNG icon
COMMAND - a script or binary to execute
WINDOWTITLE - is a semicolon-seperated list of case-insensitive
window-titles of corresponding application-windows. Those
strings may contain wildcard characters (* and/or ?) to
exclusively identify a window. By providing this list you
make the icon exclusive to one instance of course. Clicking
on already launched icons will raise the corresponding
window instead of invoking a new instance.
IDLE - idle time after triggering one icon in miliseconds, instead
of using numbers you may also use the terms "lame" (~ 10 s),
"slow" (~ 5 s), "fast" (~ 500 ms) or "fastest" (~ 250 ms)
For example, run it from command line this way:
$ bbdock "~/.icons/firefox.png:firefox:*Firefox"
Sample out of a ~/.bbdockrc:
To start by configuration file, just run bbdock. Type "bbdock -h" for a detailed view of general options.