diff options
| author | Josh Rahm <rahm@google.com> | 2021-11-12 13:08:24 -0700 |
|---|---|---|
| committer | Josh Rahm <joshuarahm@gmail.com> | 2022-10-09 12:19:45 -0600 |
| commit | b7272ba8c84f254c3b7efcaf3d8e20686eeb0b1c (patch) | |
| tree | 55047421e937bd0b289b893fce8572c9a0716ded /src/Internal/Keys.hs | |
| parent | 04d0ab42a39df36acfc84846cc122f0bb9786446 (diff) | |
| download | rde-b7272ba8c84f254c3b7efcaf3d8e20686eeb0b1c.tar.gz rde-b7272ba8c84f254c3b7efcaf3d8e20686eeb0b1c.tar.bz2 rde-b7272ba8c84f254c3b7efcaf3d8e20686eeb0b1c.zip | |
Change swapMaster.
Swap master now swaps the master window with the prior master window if
swapMaster is called while the master window is focused.
Diffstat (limited to 'src/Internal/Keys.hs')
| -rw-r--r-- | src/Internal/Keys.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Internal/Keys.hs b/src/Internal/Keys.hs index 591861f..3b61dac 100644 --- a/src/Internal/Keys.hs +++ b/src/Internal/Keys.hs @@ -1,6 +1,7 @@ {-# LANGUAGE RankNTypes #-} module Internal.Keys where +import Internal.SwapMaster (swapMaster) import XMonad.Hooks.ManageDocks import XMonad.Layout.MosaicAlt import Graphics.X11.ExtraTypes.XorgDefault @@ -85,7 +86,7 @@ newKeys = , ((modm .|. shiftMask, xK_l), windows W.swapDown) , ((modm , xK_f), sendMessage FlipLayout) , ((modm .|. shiftMask, xK_f), sendMessage HFlipLayout) - , ((modm , xK_Return), windows W.swapMaster) + , ((modm , xK_Return), swapMaster) , ((modm, xK_j), sendMessage Shrink) , ((modm, xK_k), sendMessage Expand) , ((modm .|. shiftMask, xK_r), sendMessage DoRotate) |