[xmonad] Re: Patch: improved support for replacing an existing window manager

Justin Bogner mail at justinbogner.com
Mon Oct 12 12:15:10 EDT 2009

Adam Vogt <vogt.adam at gmail.com> writes:
> 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?

More information about the xmonad mailing list