summaryrefslogtreecommitdiffstats
path: root/xmonad/xmonad.hs
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@x220.lan>2020-09-06 16:48:05 +0100
committerMatthew Lemon <lemon@x220.lan>2020-09-06 16:48:05 +0100
commite4640e28c8449eea66392052bfab57ce0cdd27f9 (patch)
tree2be81b55bc37da60599f4e6d434e74a57694962e /xmonad/xmonad.hs
first commit
Diffstat (limited to 'xmonad/xmonad.hs')
-rw-r--r--xmonad/xmonad.hs22
1 files changed, 22 insertions, 0 deletions
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
+ }