sel is straight and
simple: it selects and raises an X11 window by class. I use it for
two purposes: first, when I “lost” some window deep below others, then
I use it from dmenu (this happens
rarely, and cwm can find
windows by name already, anyway). Secondly, I use it for its
side-effect of returning with an error code if the window cannot be
found. For example, I run my command launcher
tkexec like this:
tkexec ... "em:sel Emacs || exec emacs" ...
Thus, pressing the
em button will focus Emacs, or start a new one if
none can be found. This makes it work quite like the OS X dock.
NP: Die Schnitter—Ich will dich noch einmal sehen