
On Mon, Feb 02, 2015 at 13:40:50 +0100, Troels Henriksen wrote:
This makes it hard to deal with having two dozen tabs open across several different windows, however. It is annoying, because in xmonad this is already a solved problem for windows...
Well, I also don't belong to the "100 tabs" crowd, so my use cases might be a bit different. I think I have less than a dozen tabs open here almost all of the time.
I have come to the hypothesis that the best solution is to write a Firefox hack/extension that allows GridSelect[0] to present the Firefox tabs as well as windows, and if a tab is selected, not just select the Firefox window, but also make it focus that tab. Too bad I don't really know anything about writing Firefox extensions (let alone one that can communicate with other processes), but I guess it is not too late to learn.
Well, the problem is that all Firefox windows have the same process so selecting a window by PID won't work, but even so, Firefox doesn't know how to change XMonad's current workspace (I don't use EWMH at least), so things get funky if the selected tab is off-screen (since Firefox *does* steal the keyboard focus). I guess you could have Firefox expose the tab list via an X property, but that doesn't sound too pretty. --Ben