Is there anyway I can make all new applications open in a specific window position?

What I am trying to achieve is open emacs and move it to the master Window, however I only what this action performed on emacs and not other applications.

1 Answer 1

import qualified XMonad.StackSet                  as W

myManageHook :: Query (Data.Monoid.Endo WindowSet)
myManageHook = composeAll
    [ className =? "Emacs"          --> doF W.swapMaster 

, manageHook =  myManageHook <+> manageHook desktopConfig

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .