Stump like behavior...

Hi, Being a long time LISP/Stump user I migrated to xmonad about eight months ago and I am totally hooked, just bought 'Real World Haskell' and determined to 'get into it' ASAP!! Awesome. I've read around the list but I can't see what I am after, prepared to write it myself if I have too... in stump you can create a new application in the same frame as the current one and then rotate between them; a circular queue of windows with the topmost one being the active one. Can xmonad do this out of the box or with some nifty configuration applied to xmonad.hs ? When I have a main window with firefox running and three smaller ones stacked beloe with pork, mutt and a shell open, I would like to be able to use the same space for emacs and swap between firefox and emacs as I work. It's not a problem really but I wondered if it would be easy to achieve the same stump-like operation? Thanks. Sean Charles. -- _"When you argue with a fool, there are two fools arguing."_ - ANON.

On Wed, Aug 25, 2010 at 11:48, Sean Charles
Hi,
Being a long time LISP/Stump user I migrated to xmonad about eight months ago and I am totally hooked, just bought 'Real World Haskell' and determined to 'get into it' ASAP!! Awesome.
I've read around the list but I can't see what I am after, prepared to write it myself if I have too... in stump you can create a new application in the same frame as the current one and then rotate between them; a circular queue of windows with the topmost one being the active one.
Can xmonad do this out of the box or with some nifty configuration applied to xmonad.hs ?
When I have a main window with firefox running and three smaller ones stacked beloe with pork, mutt and a shell open, I would like to be able to use the same space for emacs and swap between firefox and emacs as I work. It's not a problem really but I wondered if it would be easy to achieve the same stump-like operation?
It sounds like TwoPane is a special case of what you describe. If you find a perfect match, or implement one yourself, then I have one or two uses for it myself :-) /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus@therning.org http://therning.org/magnus identi.ca|twitter: magthe

If you want something more general, have a look at
XMonad.Layout.SubLayouts and XMonad.Layout.Groups. I haven't used them
myself, but I think the behavior you want is possible with them.
/Anders
On Wed, Aug 25, 2010 at 13:07, Magnus Therning
On Wed, Aug 25, 2010 at 11:48, Sean Charles
wrote: Hi,
Being a long time LISP/Stump user I migrated to xmonad about eight months ago and I am totally hooked, just bought 'Real World Haskell' and determined to 'get into it' ASAP!! Awesome.
I've read around the list but I can't see what I am after, prepared to write it myself if I have too... in stump you can create a new application in the same frame as the current one and then rotate between them; a circular queue of windows with the topmost one being the active one.
Can xmonad do this out of the box or with some nifty configuration applied to xmonad.hs ?
When I have a main window with firefox running and three smaller ones stacked beloe with pork, mutt and a shell open, I would like to be able to use the same space for emacs and swap between firefox and emacs as I work. It's not a problem really but I wondered if it would be easy to achieve the same stump-like operation?
It sounds like TwoPane is a special case of what you describe.
If you find a perfect match, or implement one yourself, then I have one or two uses for it myself :-)
/M
-- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus@therning.org http://therning.org/magnus identi.ca|twitter: magthe _______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad

I have now tried the Roledex layout, this is nearly exactly what I want except that I want each window to be fullscreen rather than stacked the way it does... I am going to get the source code for this and modify it so that each window is the same size as the screen... it will be a good way into both Haskell and xmonad. Thanks for the pointers, If I get the result I want I will publish it / give it back / etc :) On Wed, 25 Aug 2010 11:48:15 +0100, Sean Charles wrote: Hi, Being a long time LISP/Stump user I migrated to xmonad about eight months ago and I am totally hooked, just bought 'Real World Haskell' and determined to 'get into it' ASAP!! Awesome. I've read around the list but I can't see what I am after, prepared to write it myself if I have too... in stump you can create a new application in the same frame as the current one and then rotate between them; a circular queue of windows with the topmost one being the active one. Can xmonad do this out of the box or with some nifty configuration applied to xmonad.hs ? When I have a main window with firefox running and three smaller ones stacked beloe with pork, mutt and a shell open, I would like to be able to use the same space for emacs and swap between firefox and emacs as I work. It's not a problem really but I wondered if it would be easy to achieve the same stump-like operation? Thanks. Sean Charles. -- _"When you argue with a fool, there are two fools arguing."_ - ANON. -- _"When you argue with a fool, there are two fools arguing."_ - ANON.

Sean Charles [2010.08.25 1313 +0100]:
I have now tried the Roledex layout, this is nearly exactly what I want except that I want each window to be fullscreen rather than stacked the way it does... I am going to get the source code for this and modify it so that each window is the same size as the screen... it will be a good way into both Haskell and xmonad.
If you want the windows to be fullscreen, then you can use XMonad.Layout.Full. This shows one window at a time and allows you to flip through the open windows. Your initial post didn't sound like you wanted fullscreen, though. - Norbert
Thanks for the pointers, If I get the result I want I will publish it / give it back / etc
:)
On Wed, 25 Aug 2010 11:48:15 +0100, Sean Charles wrote:
Hi,
Being a long time LISP/Stump user I migrated to xmonad about eight months ago and I am totally hooked, just bought 'Real World Haskell' and determined to 'get into it' ASAP!! Awesome.
I've read around the list but I can't see what I am after, prepared to write it myself if I have too... in stump you can create a new application in the same frame as the current one and then rotate between them; a circular queue of windows with the topmost one being the active one.
Can xmonad do this out of the box or with some nifty configuration applied to xmonad.hs ?
When I have a main window with firefox running and three smaller ones stacked beloe with pork, mutt and a shell open, I would like to be able to use the same space for emacs and swap between firefox and emacs as I work. It's not a problem really but I wondered if it would be easy to achieve the same stump-like operation?
Thanks. Sean Charles.
-- _"When you argue with a fool, there are two fools arguing."_ - ANON.
-- _"When you argue with a fool, there are two fools arguing."_ - ANON.
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
-- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments

On 08/25/2010 07:13 AM, Sean Charles wrote:
I have now tried the Roledex layout, this is nearly exactly what I want except that I want each window to be fullscreen rather than stacked the way it does... I am going to get the source code for this and modify it so that each window is the same size as the screen... it will be a good way into both Haskell and xmonad.
I agree with Norbert, it sounds like you just want Full. I rarely use Full myself... I few applications really work well full-screen on wide-screen monitors. When I want this behavior for a sub-set of windows (shell always on the right, Firefox/Tbird/compose/etc stacked on the left), I use .Layout.Combo to combine .Layout.Tabbed inside (usually) .Layout.TwoPane. Combo requires that you set up .Layout.WindowNavigation to tie keys to moving windows between the two layouts. I found the docs on all that a little confusing, but I worked it out. (Maybe I should write a tutorial on setting up Combo.) If you like being able to pull up a shell and then hide it again, you might find Util.NamedScratchpad to be handy. I wasn't sure I really needed it, but within a week of using it I wouldn't live without it. I use it to manage a couple other applications in addition to a shell. -- Carl D Cravens (raven@phoenyx.net) I don't have TIME to be charming...
participants (5)
-
Anders Engström
-
Carl Cravens
-
Magnus Therning
-
Norbert Zeh
-
Sean Charles