[xmonad] CycleWS: shiftTo Next EmptyWS >> andThenSomehowFollow
Rhys Ulerich
rhys.ulerich at gmail.com
Thu Aug 8 18:04:57 CEST 2013
Hi Brandon,
> 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'
I am seeing
Couldn't match expected type `WindowSet -> WindowSet'
with actual type `StackSet i0 l0 a0 s0 sd0'
In the return type of a call of `shift'
In the second argument of `($)', namely `shift here w'
In the expression: windows $ shift here w
- Rhys
More information about the xmonad
mailing list