Window manager

I’d like a window manager that will allow me to focus windows from the
command line. Fvwm might do the trick, with fvwmcommand.