aboutsummaryrefslogtreecommitdiffstats
path: root/Config.hs
diff options
context:
space:
mode:
authorJason Creighton <jcreigh@gmail.com>2007-05-31 06:47:33 +0200
committerJason Creighton <jcreigh@gmail.com>2007-05-31 06:47:33 +0200
commitb1047e049301158332132e4fde03c3e817770bee (patch)
tree7aed1cb41e749ce10b1da2c4148593d8c320adb4 /Config.hs
parentad48576b8ae1c2ace415fc9d941424965a3186b0 (diff)
downloadxmonad-b1047e049301158332132e4fde03c3e817770bee.tar.gz
xmonad-b1047e049301158332132e4fde03c3e817770bee.tar.xz
xmonad-b1047e049301158332132e4fde03c3e817770bee.zip
first shot at a floating layer
This is a first attempting at a floating layer: mod-button1: move window mod-button2: swapMaster mod-button3: resize window mod-t: make floating window tiled again Moving or resizing a window automatically makes it floating. Known issues: Hard to manage stacking order. You can promote a window to move it to the top, (which you can do with mod-button2) but it should be easier than that. Moving a window by dragging it to a different Xinerama screen does not move it to that workspace. Code is ugly. darcs-hash:20070531044733-b9aa7-c96d5263e1d3447e91f436920f4d047050ce55d9.gz
Diffstat (limited to 'Config.hs')
-rw-r--r--Config.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Config.hs b/Config.hs
index 7bb7e37..57750e0 100644
--- a/Config.hs
+++ b/Config.hs
@@ -115,6 +115,8 @@ keys = M.fromList $
, ((modMask, xK_h ), sendMessage Shrink) -- @@ Shrink the master area
, ((modMask, xK_l ), sendMessage Expand) -- @@ Expand the master area
+ , ((modMask, xK_t ), withFocused clearFloating) -- @@ Make floating window tiled
+
-- increase or decrease number of windows in the master area
, ((modMask , xK_comma ), sendMessage (IncMasterN 1)) -- @@ Increment the number of windows in the master area
, ((modMask , xK_period), sendMessage (IncMasterN (-1))) -- @@ Deincrement the number of windows in the master area