[xmonad] ManageHook question regarding sending applications to
certain workspaces.
Mike Sampson
mike at sambodata.com
Mon Apr 12 18:44:22 EDT 2010
Hi,
On Sun, Apr 11, 2010 at 5:25 PM, Ivan Lazar Miljenovic
<ivan.miljenovic at gmail.com> wrote:
> Mike Sampson <mike at sambodata.com> writes:
>> doShiftAndGo = doF . liftM2 (.) W.greedyView W.shift
>>
>> which brings the workspace the application is moved to, to the current
>> screen. Is there a way to always bring the workspace to screen 2?
>
> A complete (untested) hack:
>
> ,----
> | import XMonad.Actions.CycleWS
> |
> | doShiftAndGoOther w = do nextScreen
> | doShiftAndGo w
> | prevScreen
> `----
>
> It might be possible to do this without CycleWS, but I'm not sure how
> (without looking at CycleWS's code).
> [...]
Thanks Ivan. I can see why you called it a hack but lacking anything
better it will do. I will have a look at CycleWS for some ideas.
Mike
More information about the xmonad
mailing list