Re: [xmonad] Layout.LayoutCombinators? (Was: Re: Defining Layouts)

[ Re-added xmonad to the Cc list -- Roundy should never have taken
this off-list. ]
On 19/12/2007, David Roundy
To achieve something like what you describe, you could do
column *||* toggleLayouts Full column
where column would be a layout that arranges windows in a single column. You could probably construct column from Tall. Then you
Ah. So I wasn't too far off-beam then, which is comforting. I played around with this idea, but to be honest, given your explanation about stacks, it makes using LayoutCombinators impossible if WindowNavigator cannot be used along with it to switch focus. A very annoying limitation. -- Thomas Adam

On Wed, Dec 19, 2007 at 09:24:07PM +0000, Thomas Adam wrote:
[ Re-added xmonad to the Cc list -- Roundy should never have taken this off-list. ]
On 19/12/2007, David Roundy
wrote: To achieve something like what you describe, you could do
column *||* toggleLayouts Full column
where column would be a layout that arranges windows in a single column. You could probably construct column from Tall. Then you
Ah. So I wasn't too far off-beam then, which is comforting. I played around with this idea, but to be honest, given your explanation about stacks, it makes using LayoutCombinators impossible if WindowNavigator cannot be used along with it to switch focus. A very annoying limitation.
Oh wait, I think I got Go and Swap mixed up. You certainly can use WindowNavigator to change focus along with LayoutCombinators, I do that all the time. -- David Roundy Department of Physics Oregon State University

Hello --
On 20/12/2007, David Roundy
Oh wait, I think I got Go and Swap mixed up. You certainly can use WindowNavigator to change focus along with LayoutCombinators, I do that all the time.
Oh? Am I missing something silly then? No matter what I do, I can't change focus with: -- window navigation keybindings. , ((modm, xK_Right), sendMessage $ Go R) , ((modm, xK_Left ), sendMessage $ Go L) , ((modm, xK_Up ), sendMessage $ Go U) , ((modm, xK_Down ), sendMessage $ Go D) defined. As soon as I go back to not using anything from LayoutCombinators, everything works fine. Thanks, -- Thomas Adam

On Thu, Dec 20, 2007 at 12:35:19PM +0000, Thomas Adam wrote:
Hello --
On 20/12/2007, David Roundy
wrote: Oh wait, I think I got Go and Swap mixed up. You certainly can use WindowNavigator to change focus along with LayoutCombinators, I do that all the time.
Oh? Am I missing something silly then? No matter what I do, I can't change focus with:
-- window navigation keybindings. , ((modm, xK_Right), sendMessage $ Go R) , ((modm, xK_Left ), sendMessage $ Go L) , ((modm, xK_Up ), sendMessage $ Go U) , ((modm, xK_Down ), sendMessage $ Go D)
defined. As soon as I go back to not using anything from LayoutCombinators, everything works fine.
Perhaps you could post your actual configuration? Or you could try my configuration, and then incrementally modify it into your own, to see when it breaks. -- David Roundy Department of Physics Oregon State University

Hello again --
On 20/12/2007, David Roundy
Perhaps you could post your actual configuration? Or you could try my configuration, and then incrementally modify it into your own, to see when it breaks.
Heh. I was messing about with things just prior to your reply, and it seems (for me at least -- I have no idea if it's an issue with the order of my import statements) that I have to import LayoutCombinators -after- WindowNavigation. If I don't then the Navigation stuff doesn't work with LayoutCombinators. So now that's solved, I can mess with actually trying out your suggestions. :) Many thanks. :) -- Thomas Adam

On Thu, Dec 20, 2007 at 12:49:01PM +0000, Thomas Adam wrote:
On 20/12/2007, David Roundy
wrote: Perhaps you could post your actual configuration? Or you could try my configuration, and then incrementally modify it into your own, to see when it breaks.
Heh. I was messing about with things just prior to your reply, and it seems (for me at least -- I have no idea if it's an issue with the order of my import statements) that I have to import LayoutCombinators -after- WindowNavigation. If I don't then the Navigation stuff doesn't work with LayoutCombinators.
Yikes! That is *very* scary. Can you post a pair of config files that differ only in their order of import statements, and display this behavior? This sounds like a ghc bug to me, if the behavior really depends on order of import statements, and we should report it. -- David Roundy Department of Physics Oregon State University

On Thursday 20 December 2007 06:49:01 Thomas Adam wrote:
Hello again --
On 20/12/2007, David Roundy
wrote: Perhaps you could post your actual configuration? Or you could try my configuration, and then incrementally modify it into your own, to see when it breaks.
Heh. I was messing about with things just prior to your reply, and it seems (for me at least -- I have no idea if it's an issue with the order of my import statements) that I have to import LayoutCombinators -after- WindowNavigation. If I don't then the Navigation stuff doesn't work with LayoutCombinators.
So now that's solved, I can mess with actually trying out your suggestions. :)
Many thanks. :)
-- Thomas Adam
I think it's an issue with your layout config, see my comments on bug #106. Cheers, Spencer Janssen

Hello --
On 20/12/2007, Spencer Janssen
I think it's an issue with your layout config, see my comments on bug #106.
Thanks. I tried that, and yes, it did something, but it wouldn't allow me to shuffle windows around. If I don't have "windowNavigator" as per your suggestion in myLayouts then I can shuffle windows about. Probably something else very weird with my config, but either way, it now works the way I'd expect it to. -- Thomas Adam

Not my day it seems....
On 20/12/2007, Thomas Adam
Thanks. I tried that, and yes, it did something, but it wouldn't allow me to shuffle windows around. If I don't have "windowNavigator"
s/windowNavigator/windowNavigation/ Thomas Adam

On Thu, Dec 20, 2007 at 03:25:49PM +0000, Thomas Adam wrote:
Hello --
On 20/12/2007, Spencer Janssen
wrote: I think it's an issue with your layout config, see my comments on bug #106.
Thanks. I tried that, and yes, it did something, but it wouldn't allow me to shuffle windows around. If I don't have "windowNavigator" as per your suggestion in myLayouts then I can shuffle windows about.
What do you mean by "shuffle windows about"? -- David Roundy Department of Physics Oregon State University

Hi --
On 21/12/2007, David Roundy
On Thu, Dec 20, 2007 at 03:25:49PM +0000, Thomas Adam wrote:
Hello --
On 20/12/2007, Spencer Janssen
wrote: I think it's an issue with your layout config, see my comments on bug #106.
Thanks. I tried that, and yes, it did something, but it wouldn't allow me to shuffle windows around. If I don't have "windowNavigator" as per your suggestion in myLayouts then I can shuffle windows about.
What do you mean by "shuffle windows about"?
Swap from WindowNavigation wasn't working. Either way whatever it is I have or haven't done, it seems to work how I want it to now. :) -- Thomas Adam
participants (3)
-
David Roundy
-
Spencer Janssen
-
Thomas Adam