
2011/1/26 Adam Vogt
* On Wednesday, January 26 2011, Victor Gaydov wrote:
Hello,
Is there a way to use windowNavigation for inner subLayout?
For example, I have Tall as inner layout and Simplest as outer, and I want two different key-bindings groups: - one to navigate inside focused Tall - other to switch to next tiled windows group inside Simplest
Thanks a lot.
Hi,
If you put windowNavigation (subLayout [] (tall ... ) Full), windowNavigation will work correctly. The difference between Full and Simplest may or may not matter here. Try both.
Hello, Thanks for attention. 1. There is no difference between Simplest and Full, but tabBar works incorrectly with Full. 2. I'm using: windowNavigation (subLayout [] (Tall Simplest)) and (sendMessage $ Go U), for example, navigates through all windows, not only inside current tiled group. However, (onGroup W.focusUp') (from docs) navigates only in focused group. Is it possible to restrict windowNavigation to that group too?
For the switching between groups (Simplest), you need to use XMonad.Layout.BoringWindows as described in the documentation.
3. Could you please provide any working example? I've tried focusUp/Down and (sendMessage $ Go *) after applying boringWindows to Tall or to subLayout, but with no success. -- Victor