aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSpencer Janssen <sjanssen@cse.unl.edu>2007-10-02 19:42:43 +0200
committerSpencer Janssen <sjanssen@cse.unl.edu>2007-10-02 19:42:43 +0200
commita02ed4cd99103549207095a67b1d984c1a2dfc35 (patch)
treeffa8fd2b57fa584467921466c57a42bb34ee74d6
parent0ddd66e3e0778c1af438e6519888c77aa3935756 (diff)
downloadxmonad-a02ed4cd99103549207095a67b1d984c1a2dfc35.tar.gz
xmonad-a02ed4cd99103549207095a67b1d984c1a2dfc35.tar.xz
xmonad-a02ed4cd99103549207095a67b1d984c1a2dfc35.zip
Add rules for gnome-panel and kicker
darcs-hash:20071002174243-a5988-65f0e4ea552913e300184bd5d1d2b02b6216744f.gz
-rw-r--r--Config.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Config.hs b/Config.hs
index 4697d46..0979ab2 100644
--- a/Config.hs
+++ b/Config.hs
@@ -66,6 +66,10 @@ defaultGaps = [(0,0,0,0)] -- 15 for default dzen
-- | manageHook. Execute arbitrary actions and WindowSet manipulations when
-- managing a new window.
manageHook :: Window -> (String, String, String) -> X (WindowSet -> WindowSet)
+-- Don't manage Gnome's panel or KDE's kicker:
+manageHook w (_, "gnome-panel", _) = reveal w >> return (W.delete w)
+manageHook w (_, "kicker", _) = reveal w >> return (W.delete w)
+-- The default rule, do not edit this line.
manageHook _ _ = return id
-- |