Skip to content

Instantly share code, notes, and snippets.

@theelous3
Created April 25, 2017 11:54
Show Gist options
  • Save theelous3/e13d3b890e196ecc9974d3671f9bc7b3 to your computer and use it in GitHub Desktop.
Save theelous3/e13d3b890e196ecc9974d3671f9bc7b3 to your computer and use it in GitHub Desktop.
import XMonad
import XMonad.Layout.Spacing
import XMonad.Layout.Gaps
import XMonad.Hooks.ManageDocks
myLayout = gaps [(U, 10), (R, 10), (L, 10), (D, 10)] $ smartSpacing 10 $ (tiled ||| Mirror tiled ||| Full)
where
tiled = Tall nmaster delta ratio
nmaster = 1
ratio = 1/2
delta = 3/100
main = xmonad $ defaultConfig
{ borderWidth = 2,
focusedBorderColor = "#226fa5",
normalBorderColor = "#191919",
layoutHook = avoidStruts $ myLayout }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment