[xmonad] Using TwoPane

Patrick Brisbin pbrisbin at gmail.com
Wed Oct 28 09:18:48 EDT 2009


On 10/28/09 at 12:39pm, Amy de Buitléir wrote:
> Hi Magnus,
> 
> 2009/10/28 Magnus Therning <magnus at therning.org>
> >
> I start three terminals, t1, t2 and t3, I then switch to TwoPane and
> > have a screen showing t1 and t2 (t1|t2).  What I want is to have t1
> > next to t3, so I jump through the windows until I have t1|t3.
> > However, if I now want to switch focus to t1 I can't seem do that
> > without changing what windows are visible, however I do it I end up
> > with t1|t2.  What I have to do is get t3 over to the master area, then
> > jump through until I have t3|t1.  I have to redo the same steps if I
> > after that want to switch focus to t3.
> >
> 
> I'm using DragPane, but I had the same problem. What works for me is to make
> sure the focus is in the master area, and then use Alt-Tab until the app I
> want is in the other pane.
> 
> Amy

I use rotFucused* from X.A.CycleWindows to change the focused window of
either pane independently.

Works great.

  import XMonad.Actions.CycleWindows  (rotFocusedUp, rotFocusedDown)

  -- note: EZConfig notation
  , ("M-C-k", rotFocusedUp  ) -- Rotate windows up through current focus
  , ("M-C-j", rotFocusedDown) -- Rotate windows down through current focus

HTH,
Pat

-- 
patrick brisbin


More information about the xmonad mailing list