
On 2009-01-27 17:06:09 -0700, wirtwolff wrote:
Since last time, regarding your layout question, I read your request backward re /unfocused/focused/ I'm hesitant to reply. ;) Hopefully I have read correctly this time.
I won't bite if you don't get my question right, honest ...
The Actions.WindowNavigation module moves focus and swaps windows across screen borders directionally nicely as far as I've seen, although it's marked experimental. (I'm running darcs version, but afaik is in 0.8 too)
It works beautifully! I can move the focus left and right even across screen borders. Moving the focus up also works. Moving it down doesn't, though. I see the window border flashing, but nothing else happens. And shifting windows up and down took my Gnome panel down from the top of the screen and into the managed grid, which I didn't want at all. ;-) (I almost never use the up/down movements, though, so I'll keep this config since it's much better than what I used to have.) This is with xmonad 0.8 from the Ubuntu archives, and a config like this: main = do let c1 = CG.gnomeConfig { modMask = mod4Mask , layoutHook = layouts , manageHook = manageHook CG.gnomeConfig <+> myManageHook , keys = \x -> M.union (M.fromList (myKeys x)) (keys CG.gnomeConfig x) , focusFollowsMouse = False , borderWidth = 2 } c2 <- WN.withWindowNavigation (xK_Up, xK_Left, xK_Down, xK_Right) c1 xmonad c2 (The complete config is attached in case someone is interested.) -- Karl Hasselström, kha@treskal.com www.treskal.com/kalle