Curious what code you tried. Something like this seems like it should work: import Graphics.X11.Xinerama (getScreenInfo) main = do dpy <- openDisplay "" screens <- getScreenInfo dpy let config = case length screens of 1 -> ... _ -> ... xmonad config On Mon, Oct 6, 2014 at 10:55 AM, Chris Bell <cwbell@mail.usf.edu> wrote:
On Mon, Oct 6, 2014 at 12:53 PM, Brandon Allbery <allbery.b@gmail.com> wrote:
In the meantime, the trick used by e.g. Fedora's default xmonad configuration is environment variables.
Aha, that will do nicely. Thanks! And I agree, a --user-arg param would be convenient.
Regards,
Chris Bell
Ph.D. Student University of South Florida College of Engineering Department of Computer Science and Engineering NarMOS Research Team _______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad