diff options
author | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-12-09 14:54:08 +0100 |
---|---|---|
committer | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-12-09 14:54:08 +0100 |
commit | 6b590ca5f5be710cf255d37402ba5c6cdd980de4 (patch) | |
tree | ff7be10a2f3a687f54d22d9c56c1aa2c1cff6fae /XMonad | |
parent | 985ba9dd4b5af42b17344e0c840b018ddf3aa8de (diff) | |
download | metatile-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.hs | 11 |
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 |