Tweak XMonad layout
This commit is contained in:
parent
90d9fd3ccc
commit
fe0daeb2f1
|
@ -15,7 +15,7 @@ import XMonad.Layout.ResizableTile
|
||||||
|
|
||||||
myModKey = mod4Mask
|
myModKey = mod4Mask
|
||||||
myTerminal = "st"
|
myTerminal = "st"
|
||||||
myBorderWidth = 1
|
myBorderWidth = 2
|
||||||
myUnfocusedBorderColor = "#ffffff"
|
myUnfocusedBorderColor = "#ffffff"
|
||||||
myFocusedBorderColor = "#00cd00"
|
myFocusedBorderColor = "#00cd00"
|
||||||
myWorkspaces = map show [1..9]
|
myWorkspaces = map show [1..9]
|
||||||
|
@ -25,7 +25,7 @@ tiled = spacing 12 $ ResizableTall 1 (1/100) (1/2) []
|
||||||
grid = spacing 12 $ Grid (16/10)
|
grid = spacing 12 $ Grid (16/10)
|
||||||
monocle = smartBorders (Full)
|
monocle = smartBorders (Full)
|
||||||
myLayout = myDefaultLayout
|
myLayout = myDefaultLayout
|
||||||
where myDefaultLayout = tiled ||| Mirror tiled ||| monocle
|
where myDefaultLayout = avoidStruts ( tiled ||| Mirror tiled ) ||| monocle
|
||||||
-- TODO: These don't seem used, see if we can remove/use them
|
-- TODO: These don't seem used, see if we can remove/use them
|
||||||
-- Update: Examination of other xmonad.hs files seems to back up my suspicions
|
-- Update: Examination of other xmonad.hs files seems to back up my suspicions
|
||||||
-- nmaster = 1
|
-- nmaster = 1
|
||||||
|
@ -45,7 +45,7 @@ main = do
|
||||||
, modMask = myModKey
|
, modMask = myModKey
|
||||||
, terminal = myTerminal
|
, terminal = myTerminal
|
||||||
-- , startupHook = myStartupHook
|
-- , startupHook = myStartupHook
|
||||||
-- , layoutHook = myLayoutHook
|
, layoutHook = myLayout
|
||||||
, workspaces = myWorkspaces
|
, workspaces = myWorkspaces
|
||||||
, borderWidth = myBorderWidth
|
, borderWidth = myBorderWidth
|
||||||
, normalBorderColor = myUnfocusedBorderColor
|
, normalBorderColor = myUnfocusedBorderColor
|
||||||
|
|
Loading…
Reference in New Issue