
Hi, I've used xmonad for about two and a half years as a "stock" item from the repositories but I have always wanted (or wanted to know) if there is a feature or option that lets you create a new window on top of another one but inside the current frame? Imagine the screen, then using Alt+1 to Alt+9 to switch screens, I'd like to be able to do that inside a currently active region so instead of having another window appear and cause a relayout, I'd like the new open application to sit on top, a stack I guess...I used to use the Lisp "stumpwm" window manager and the ability to flip between windows but within another frame on the screen was brilliiant. I have a suspicion that it will be a "layout" class but I have no idea what one if it exists. Thanks, Sean.

objitsu@gmail.com writes:
instead of having another window appear and cause a relayout, I'd like the new open application to sit on top, a stack I guess
I'm not sure I understand your requirements exactly, but it sounds a bit like what the Full and TwoPane layouts already do.
the ability to flip between windows but within another frame on the screen was brilliiant.
Let me see if I understand. You have, say, a grid of 2x2 windows. When you open a new window, it appears on top of the currently focused one, leaving the other 3 visible. You now move to one of the other 3 and open a new window, which appears on top of the currently focused one, leaving the other 3 visible. Something like that? In other words, a bit like the Full layout on N virtual screens simultaneously visible on the same physical screen?

Hello emacstheviking,
What you describe might be possible with
http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Layout-SubLayouts.html.
I intended it for just one layer of nesting, but you might be able to
figure out a way to send messages to the right subLayout to make the
following usable:
nestedWorkspaces = subLayout [] (subLayout [] inner Full) outer
where
inner = Tall 1 0.3 0.5
outer = Tall 1 0.3 0.5
I think this means: inside the rectangles decided by "outer", have
"workspaces" (arranged by Full) which are laid out like "inner". Or
maybe the right behavior is some other permutation.
Some other code that I think could help you:
XMonad.Layout.MessageControl and some variation of
XMonad.Actions.FocusNth. Also something like the queryMerge here
http://www.haskell.org/haskellwiki/Xmonad/Config_archive/adamvo's_xmonad.hs
could be useful, since I imagine you might want to have a command
like:
spawn_and_put_the_next_window_that_appears_into_the_current_subWorkspace
:: String -> X ()
which does what it's name suggests, provided you have a manageHook
that does the merging.
Hopefully this is enough of a hint to get going.
Regards,
Adam
On Mon, Sep 30, 2013 at 10:42 AM, Jacek Generowicz
objitsu@gmail.com writes:
instead of having another window appear and cause a relayout, I'd like the new open application to sit on top, a stack I guess
I'm not sure I understand your requirements exactly, but it sounds a bit like what the Full and TwoPane layouts already do.
the ability to flip between windows but within another frame on the screen was brilliiant.
Let me see if I understand. You have, say, a grid of 2x2 windows. When you open a new window, it appears on top of the currently focused one, leaving the other 3 visible. You now move to one of the other 3 and open a new window, which appears on top of the currently focused one, leaving the other 3 visible.
Something like that?
In other words, a bit like the Full layout on N virtual screens simultaneously visible on the same physical screen? _______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad

Perhaps this. http://hackage.haskell.org/package/xmonad-contrib-0.11.2/docs/XMonad-Layout-... ~d On 2013-09-30 10:28, emacstheviking wrote:
Hi, I've used xmonad for about two and a half years as a "stock" item from the repositories but I have always wanted (or wanted to know) if there is a feature or option that lets you create a new window on top of another one but inside the current frame?
Imagine the screen, then using Alt+1 to Alt+9 to switch screens, I'd like to be able to do that inside a currently active region so instead of having another window appear and cause a relayout, I'd like the new open application to sit on top, a stack I guess...I used to use the Lisp "stumpwm" window manager and the ability to flip between windows but within another frame on the screen was brilliiant. I have a suspicion that it will be a "layout" class but I have no idea what one if it exists.
Thanks, Sean.
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
participants (4)
-
adam vogt
-
Daniel Wagner
-
emacstheviking
-
Jacek Generowicz