changeset 181:2d8105525973

xmonad: add another layout, fix terminal colors, add screensaver lock binding
author Augie Fackler <durin42@gmail.com>
date Wed, 13 Jan 2010 10:35:48 -0600
parents cd4e645d1207
children e189dfb33bfa
files .xmonad/xmonad.hs
diffstat 1 files changed, 10 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/.xmonad/xmonad.hs
+++ b/.xmonad/xmonad.hs
@@ -4,15 +4,20 @@ import XMonad
 import XMonad.Layout
 import XMonad.Layout.Column
 import XMonad.Layout.LayoutBuilder
+import XMonad.Util.EZConfig
 
-myLayout = augie ||| Full
-  where augie = ((layoutN 2 (relBox 0 0 1 0.75) (Just $ relBox 0 0 1 1) $ (Tall 1 0.03 0.75))
-               $ (layoutAll (relBox 0 0.75 1 1) $ (Mirror (Column 1))))
+myLayout = augie2 ||| augie1 ||| Full
+  where augie2 = ((layoutN 2 (relBox 0 0 1 0.75) (Just $ relBox 0 0 1 1) $ (Tall 1 0.03 0.75))
+                 $ (layoutAll (relBox 0 0.75 1 1) $ (Mirror (Column 1))))
+        augie1 = ((layoutN 1 (relBox 0 0 1 0.75) (Just $ relBox 0 0 1 1) $ (Tall 1 0.03 0.75))
+                 $ (layoutAll (relBox 0 0.75 1 1) $ (Mirror (Column 1))))
 
 
 main :: IO ()
 main = xmonad $ defaultConfig
-       { terminal = "urxvt"
+       { terminal = "urxvt -sr -bg Black -fg White"
        , modMask = mod4Mask
        , layoutHook = myLayout
-       }
+       } `additionalKeys` [
+         ((mod4Mask, xK_a), spawn "gnome-screensaver-command --lock")
+         ]