From b757998f4b16ce151cca6f70aa2073cee5611edb Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 13 Oct 2016 00:10:53 -0700 Subject: [PATCH] [XMonad] Move layouts definition --- dotfiles/xmonad/xmonad.hs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dotfiles/xmonad/xmonad.hs b/dotfiles/xmonad/xmonad.hs index dd3a04eb..b6279182 100644 --- a/dotfiles/xmonad/xmonad.hs +++ b/dotfiles/xmonad/xmonad.hs @@ -35,6 +35,7 @@ myLogHook = fadeInactiveLogHook 0.9 shiftThenView i = W.greedyView i . W.shift i +layouts = multiCol [1, 1] 2 0.01 (-0.5) ||| Full ||| Tall 1 (3/100) (1/2) addKeys conf@XConfig {modMask = modm} = [ ((modm, xK_p), spawn "rofi -show drun") , ((modm .|. shiftMask, xK_p), spawn "rofi -show run") @@ -80,10 +81,6 @@ addKeys conf@XConfig {modMask = modm} = , (W.shift, shiftMask) , (shiftThenView, controlMask)]] -layouts = multiCol [1, 1] 2 0.01 (-0.5) ||| Full ||| tiled - where - tiled = Tall 1 (3/100) (1/2) - myLayoutHook = avoidStruts . smartSpacing 10 . noBorders . minimize . boringWindows . mkToggle (MIRROR ?? EOT) $ layouts