a better layout
do horizontal first, and if a third window is added, enable vertical modemain
parent
84291247eb
commit
0a50efa68e
|
@ -34,6 +34,8 @@ import XMonad.Layout.SimplestFloat
|
||||||
import XMonad.Layout.Spacing
|
import XMonad.Layout.Spacing
|
||||||
import XMonad.Actions.PerWindowKeys
|
import XMonad.Actions.PerWindowKeys
|
||||||
import XMonad.Actions.FindEmptyWorkspace
|
import XMonad.Actions.FindEmptyWorkspace
|
||||||
|
import XMonad.Layout.Grid
|
||||||
|
import XMonad.Layout.PerScreen (ifWider)
|
||||||
|
|
||||||
|
|
||||||
main :: IO ()
|
main :: IO ()
|
||||||
|
@ -96,11 +98,12 @@ myTheme = def
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
myLayout = mouseResize $ spacingRaw True (Border 10 10 10 10) True (Border 10 10 10 10) True $
|
myLayout = mouseResize $ spacingRaw True (Border 10 10 10 10) True (Border 10 10 10 10) True $
|
||||||
Tall 1 (3/100) (1/2) ||| Full
|
tallLayout ||| Full
|
||||||
|
where
|
||||||
|
tallLayout = Tall 2 (3/100) (1/2)
|
||||||
|
|
||||||
|
|
||||||
myXmobarPP :: PP
|
myXmobarPP :: PP
|
||||||
myXmobarPP = def
|
myXmobarPP = def
|
||||||
|
|
Loading…
Reference in New Issue