How can I open an application and move it to a specific window stack position with XMonad?

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
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.
xmonad
add a comment |Â
up vote
0
down vote
favorite
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.
xmonad
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
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.
xmonad
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.
xmonad
asked Dec 16 '17 at 10:45
Chris Stryczynski
419216
419216
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
import qualified XMonad.StackSet as W
myManageHook :: Query (Data.Monoid.Endo WindowSet)
myManageHook = composeAll
[ className =? "Emacs" --> doF W.swapMaster
]
...
, manageHook = myManageHook <+> manageHook desktopConfig
...
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
import qualified XMonad.StackSet as W
myManageHook :: Query (Data.Monoid.Endo WindowSet)
myManageHook = composeAll
[ className =? "Emacs" --> doF W.swapMaster
]
...
, manageHook = myManageHook <+> manageHook desktopConfig
...
add a comment |Â
up vote
0
down vote
accepted
import qualified XMonad.StackSet as W
myManageHook :: Query (Data.Monoid.Endo WindowSet)
myManageHook = composeAll
[ className =? "Emacs" --> doF W.swapMaster
]
...
, manageHook = myManageHook <+> manageHook desktopConfig
...
add a comment |Â
up vote
0
down vote
accepted
up vote
0
down vote
accepted
import qualified XMonad.StackSet as W
myManageHook :: Query (Data.Monoid.Endo WindowSet)
myManageHook = composeAll
[ className =? "Emacs" --> doF W.swapMaster
]
...
, manageHook = myManageHook <+> manageHook desktopConfig
...
import qualified XMonad.StackSet as W
myManageHook :: Query (Data.Monoid.Endo WindowSet)
myManageHook = composeAll
[ className =? "Emacs" --> doF W.swapMaster
]
...
, manageHook = myManageHook <+> manageHook desktopConfig
...
answered Dec 31 '17 at 18:43
Chris Stryczynski
419216
419216
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f411231%2fhow-can-i-open-an-application-and-move-it-to-a-specific-window-stack-position-wi%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password