Tweak XMonad layout

This commit is contained in:
The Magician 2024-10-26 17:10:00 +01:00
parent 90d9fd3ccc
commit fe0daeb2f1
1 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@ import XMonad.Layout.ResizableTile
myModKey = mod4Mask
myTerminal = "st"
myBorderWidth = 1
myBorderWidth = 2
myUnfocusedBorderColor = "#ffffff"
myFocusedBorderColor = "#00cd00"
myWorkspaces = map show [1..9]
@ -25,7 +25,7 @@ tiled = spacing 12 $ ResizableTall 1 (1/100) (1/2) []
grid = spacing 12 $ Grid (16/10)
monocle = smartBorders (Full)
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
-- Update: Examination of other xmonad.hs files seems to back up my suspicions
-- nmaster = 1
@ -45,7 +45,7 @@ main = do
, modMask = myModKey
, terminal = myTerminal
-- , startupHook = myStartupHook
-- , layoutHook = myLayoutHook
, layoutHook = myLayout
, workspaces = myWorkspaces
, borderWidth = myBorderWidth
, normalBorderColor = myUnfocusedBorderColor