import XMonad import XMonad.Hooks.ManageDocks import XMonad.Hooks.SetWMName import XMonad.Config.Xfce import XMonad.Layout.NoBorders import XMonad.Hooks.EwmhDesktops myLayout = tiled ||| Mirror tiled ||| Full where tiled = Tall 1 (3/100) (3/5) main = xmonad xfceConfig { terminal = "xfce4-terminal" , layoutHook = avoidStruts $ smartBorders $ myLayout , handleEventHook = ewmhDesktopsEventHook , borderWidth = 1 , normalBorderColor = "#000000'" , focusedBorderColor = "#ff3f3f" , modMask = mod4Mask -- , startupHook = ewmhDesktopsStartup , startupHook = setWMName "LG3D" -- this is purely to get Minecraft working in xmonad }