[xmonad] Slight alteration to layout algorithm
Ben Boeckel
mathstuf at gmail.com
Wed Apr 13 02:40:34 CEST 2011
Christopher M Howard <choward31 at csc.com> wrote:
> Hi. I'm totally new to Xmonad, as of a few days ago. I'm using Xmonad
> as a drop-in replacement for Metacity in Gnome, following the
> instructions on your Website. I followed the Guided Tour and the
> Step-by-Step, and so I have things configured pretty much all the way
> I want (for now). The only thing that would be nice is a slight
> alteration to the "Tall" layout window algorithm: Currently when a new
> window is launched from the primary window, the new window becomes the
> primary window and the original window gets shifted off to the side.
> I'd prefer it if the new Window was automatically put into the side
> pane and the original window remained the primary window.
>
> I'm hoping to go through all your documentation, figure out how all of
> Xmonad works, and learn Haskell. But in the meantime I was wondering
> if there was a relatively quick way to implement that small
> adjustment.
Take a look at XMonad.Hooks.InsertPosition[1]. I'm not sure how to query
whether a window is the master or not, but that module should help.
--Ben
[1]http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Hooks-InsertPosition.html
More information about the xmonad
mailing list