On Mon, Oct 6, 2014 at 12:32 PM, Chris Bell <cwbell@mail.usf.edu> wrote:
My xinitrc script knows how many monitors are active, but I don't know
how to pass that to Xmonad on startup. Is there a facility to pass
arguments to Xmonad at startup from xinitrc? Or did I simply miss
something in the documentation?

Not via parameters; this has annoyed me a few times in the past, and I wonder if there is an opening here for a --user-arg parameter. In the meantime, the trick used by e.g. Fedora's default xmonad configuration is environment variables.

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net