From e4640e28c8449eea66392052bfab57ce0cdd27f9 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 6 Sep 2020 16:48:05 +0100 Subject: first commit --- xmonad/xmonad.hs | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 xmonad/xmonad.hs (limited to 'xmonad/xmonad.hs') diff --git a/xmonad/xmonad.hs b/xmonad/xmonad.hs new file mode 100644 index 0000000..4b0d3eb --- /dev/null +++ b/xmonad/xmonad.hs @@ -0,0 +1,22 @@ +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 + } -- cgit v1.2.3