[xmonad] proposal: add extra screen parameter to runLayout

David Roundy droundy at darcs.net
Wed Mar 26 11:15:45 EDT 2008


On Wed, Mar 26, 2008 at 11:12:24AM -0400, Mathias Stearn wrote:
> I could see this being useful if you have two monitors with one
> rotated to tall mode (looks like a sideways T). It would make sense
> for a given workspace to use a different layout if on the tall
> monitor. Mayhaps a mirrorIfOnScreen n l layout modifyer.

Note that this could also be achieved by simply checking the rectangle
provided, and laying things out based on its aspect ratio.  This would have
the same effect, and would also work well when used with layout
combinators.
-- 
David Roundy
Department of Physics
Oregon State University


More information about the xmonad mailing list