summaryrefslogtreecommitdiffstats
path: root/XMonad
diff options
context:
space:
mode:
authorSpencer Janssen <sjanssen@cse.unl.edu>2007-12-09 14:54:08 +0100
committerSpencer Janssen <sjanssen@cse.unl.edu>2007-12-09 14:54:08 +0100
commit6b590ca5f5be710cf255d37402ba5c6cdd980de4 (patch)
treeff7be10a2f3a687f54d22d9c56c1aa2c1cff6fae /XMonad
parent985ba9dd4b5af42b17344e0c840b018ddf3aa8de (diff)
downloadmetatile-6b590ca5f5be710cf255d37402ba5c6cdd980de4.tar
metatile-6b590ca5f5be710cf255d37402ba5c6cdd980de4.zip
Remove kicker and gnome-panel from the default manageHook, these are better
handled by XMonad.Hooks.ManageDocks. Also, remove the over-complicated list comprehensions. darcs-hash:20071209135408-a5988-75f2ea762ddd8c442c13f712e68397f60c429fab
Diffstat (limited to 'XMonad')
-rw-r--r--XMonad/Config.hs11
1 files changed, 5 insertions, 6 deletions
diff --git a/XMonad/Config.hs b/XMonad/Config.hs
index b5da4cb..e577e3d 100644
--- a/XMonad/Config.hs
+++ b/XMonad/Config.hs
@@ -111,12 +111,11 @@ defaultGaps = [(0,0,0,0)] -- 15 for default dzen font
-- and click on the client you're interested in.
--
manageHook :: ManageHook
-manageHook = composeAll . concat $
- [ [ className =? c --> doFloat | c <- floats]
- , [ resource =? r --> doIgnore | r <- ignore]
- , [ resource =? "Gecko" --> doF (W.shift "web") ]]
- where floats = ["MPlayer", "Gimp"]
- ignore = ["gnome-panel", "desktop_window", "kicker", "kdesktop"]
+manageHook = composeAll
+ [ className =? "MPlayer" --> doFloat
+ , className =? "Gimp" --> doFloat
+ , resource =? "desktop_window" --> doIgnore
+ , resource =? "kdesktop" --> doIgnore ]
------------------------------------------------------------------------
-- Logging