[xmonad] CycleWS: shiftTo Next EmptyWS >> andThenSomehowFollow

Rhys Ulerich rhys.ulerich at gmail.com
Thu Aug 8 18:13:57 CEST 2013


>   followTo :: Direction1D -> WSType -> X ()
>   followTo dir t = doTo dir t getSortByIndex (\w -> (windows (shift w)) >> (windows (greedyView w)))
>
> It parallels the code for shiftTo and moveTo in Actions/CycleWS.hs.

It does, perfectly.  Thank you.

That's arcane enough and useful enough it could be a nice addition to
CycleWS.  In particular, it would simplify the documentation example I
quoted in my original note.

Appreciate the help everyone,
Rhys




More information about the xmonad mailing list