You might want to use Skippy, which implements a window-switching function similar to Mac OSX's. Otherwise you could make a pipe-menu with xdotool and grep out the directories in the name. That's all I can think of!