From 5e38adb2bae3331f8d679bb962c3619c208de76d Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 13 Oct 2016 00:11:21 -0700 Subject: [PATCH] [XMonad] Move other definitions before addKeys --- dotfiles/xmonad/xmonad.hs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/dotfiles/xmonad/xmonad.hs b/dotfiles/xmonad/xmonad.hs index b6279182..6f4c42b8 100644 --- a/dotfiles/xmonad/xmonad.hs +++ b/dotfiles/xmonad/xmonad.hs @@ -36,6 +36,13 @@ 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) + +myLayoutHook = avoidStruts . smartSpacing 10 . noBorders . minimize + . boringWindows . mkToggle (MIRROR ?? EOT) $ layouts + +myStartup = do + spawn "systemctl --user start wm.target" + addKeys conf@XConfig {modMask = modm} = [ ((modm, xK_p), spawn "rofi -show drun") , ((modm .|. shiftMask, xK_p), spawn "rofi -show run") @@ -80,9 +87,3 @@ addKeys conf@XConfig {modMask = modm} = [ (W.greedyView, 0) , (W.shift, shiftMask) , (shiftThenView, controlMask)]] - -myLayoutHook = avoidStruts . smartSpacing 10 . noBorders . minimize - . boringWindows . mkToggle (MIRROR ?? EOT) $ layouts - -myStartup = do - spawn "systemctl --user start wm.target"