[xmonad] CycleWS: shiftTo Next EmptyWS >> andThenSomehowFollow
Brandon Allbery
allbery.b at gmail.com
Thu Aug 8 19:49:52 CEST 2013
On Thu, Aug 8, 2013 at 12:04 PM, Rhys Ulerich <rhys.ulerich at gmail.com>wrote:
> > import qualified XMonad.StackSet as W
> >
> > {- ... -}
> >
> > followTo which wsel = withFocused $ \w -> do
> > moveTo which wsel
> > here <- gets $ tag . workspace . current . windowset
> > windows $ W.shift here w
>
> Thank you. Would you please pass along the imports you're using? I
> needed to add an 'import XMonad.StackSet' but on 'xmonad --recompile'
>
That was me typoing first thing in my morning :/ W.shiftWin is the correct
function; W.shift uses the focused window (which won't exist as the
workspace is empty).
--
brandon s allbery kf8nh sine nomine associates
allbery.b at gmail.com ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20130808/2a6b470f/attachment.htm>
More information about the xmonad
mailing list