summaryrefslogtreecommitdiff
path: root/xmonad.hs
diff options
context:
space:
mode:
Diffstat (limited to 'xmonad.hs')
-rw-r--r--xmonad.hs24
1 files changed, 19 insertions, 5 deletions
diff --git a/xmonad.hs b/xmonad.hs
index 19089f0..b26e45c 100644
--- a/xmonad.hs
+++ b/xmonad.hs
@@ -1,10 +1,24 @@
1import XMonad 1import XMonad
2import XMonad.Config.Gnome 2import XMonad.Config.Desktop
3import XMonad.Layout.NoBorders 3import XMonad.Layout.NoBorders
4import XMonad.Layout.Tabbed
5
6main :: IO ()
4main = xmonad 7main = xmonad
5 gnomeConfig { 8 desktopConfig {
6 terminal = "xterm" 9 terminal = "xterm"
7 , layoutHook = smartBorders (layoutHook gnomeConfig) 10-- , layoutHook = noBorders Full ||| noBorders (tabbed shrinkText def) ||| layoutHook desktopConfig
11 , layoutHook = desktopLayoutModifiers layouts
8 , modMask = mod4Mask 12 , modMask = mod4Mask
9 } 13 }
10 14
15 where
16
17 layouts = noBorders Full
18 ||| noBorders (tabbed shrinkText def)
19 ||| smartBorders tiled
20 ||| smartBorders (Mirror tiled)
21 tiled = Tall nmaster delta ratio
22 nmaster = 1 -- The default number of windows in the master pane
23 ratio = 1 / 2 -- Default proportion of screen occupied by master pane
24 delta = 3 / 100 -- Percent of screen to increment by when resizing panes