
Adam Vogt
For reference, I've added to contrib the module XMonad.Util.Replace, which seems to work as well as these core patches, other than the lack of command line flag support (the xmonad binary does not pass flags other than --resume to the ~/.xmonad/xmonad-$arch-$os).
Any suggestions for addressing that problem (or the alternative of running `~/.xmonad/xmonad-$arch-$os --replace' instead of /usr/bin/xmonad)
I've thought for quite a while that it would be convenient for xmonad to pass any unknown flags on to ~/.xmonad/xmonad-$arch-$os, as that would allow for a lot of nice flexibility. The disadvantage, of course, is that unimplemented flags would probably just be ignored, adding a whole new dimension of user errors. What does everyone else think?