[xmonad] ManageHook question regarding sending applications to certain workspaces.

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Sun Apr 11 03:25:22 EDT 2010


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).

-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
IvanMiljenovic.wordpress.com


More information about the xmonad mailing list