Arossato: just code formattings

This commit is contained in:
Andrea Rossato 2007-11-14 13:53:52 +00:00
parent 4323d659d3
commit 85952e9e53

View File

@ -64,16 +64,19 @@ arossatoConfig = defaultConfig
, defaultGaps = [(15,0,0,0)]
}
where
-- layouts
mytab = tabbed shrinkText myTabConfig
tiled = Tall 1 0.03 0.5
-- the logHook pretty-printer
myPP = defaultPP { ppCurrent = xmobarColor "yellow" "" . wrap "[" "]"
, ppTitle = xmobarColor "green" "" . shorten 80
}
-- key bindings stuff
defKeys = keys defaultConfig
newKeys x = foldr (uncurry M.insert) (delKeys x) (toAdd x)
delKeys x = foldr M.delete (defKeys x) (toRemove x)
newKeys x = foldr (uncurry M.insert) (delKeys x) (toAdd x)
-- remove some of the default key bindings
toRemove x =
[ (modMask x , xK_j )