From 50909be1201054ba3b72c5c85ec0e1981e4fdfc6 Mon Sep 17 00:00:00 2001 From: Don Stewart Date: Sat, 26 May 2007 13:14:53 +0200 Subject: HEADS UP: change key binding for swapLeft/Right and IncMaster The use of arrow keys for swapLeft/Right clash with firefox's back button. Use the more intuitive mod-shift-jk for this. (It's a movement operation, after all). This clashes with IncMaster, so we use mod+comma and mod+period for these (i.e. the keys mod < and mod > , to move windows to and from the master area). While we're here, replace the use of the terms 'left' and 'right' for navigation, in comments and identifiers, with 'up' and 'down' instead. Hence mod-j darcs-hash:20070526111453-9c5c1-3242145ee5b51eb070a7dc3663f0d6cc01671d5c.gz --- Operations.hs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Operations.hs') diff --git a/Operations.hs b/Operations.hs index 39a5a35..84994d6 100644 --- a/Operations.hs +++ b/Operations.hs @@ -43,7 +43,7 @@ manage w = do selectInput d w $ structureNotifyMask .|. enterWindowMask .|. propertyChangeMask mapWindow d w setWindowBorderWidth d w borderWidth - windows $ W.insertLeft w + windows $ W.insertUp w -- | unmanage. A window no longer exists, remove it from the window -- list, on whatever workspace it is. @@ -51,11 +51,11 @@ unmanage :: Window -> X () unmanage = windows . W.delete -- | focus. focus window to the left or right. -focusLeft, focusRight, swapLeft, swapRight :: X () -focusLeft = windows W.focusLeft -focusRight = windows W.focusRight -swapLeft = windows W.swapLeft -swapRight = windows W.swapRight +focusUp, focusDown, swapUp, swapDown :: X () +focusUp = windows W.focusUp +focusDown = windows W.focusDown +swapUp = windows W.swapUp +swapDown = windows W.swapDown -- | swapMaster. Move the currently focused window into the master frame swapMaster :: X () -- cgit v1.2.3