From c5410f7ee6aa7b0e41cdd00d2d2927a2b314a0cc Mon Sep 17 00:00:00 2001 From: Devin Mullins Date: Sun, 11 Nov 2007 00:09:33 +0000 Subject: [PATCH] clarify config code... a bit --- XMonad/Hooks/UrgencyHook.hs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/XMonad/Hooks/UrgencyHook.hs b/XMonad/Hooks/UrgencyHook.hs index ea0e3146..3cd881ba 100644 --- a/XMonad/Hooks/UrgencyHook.hs +++ b/XMonad/Hooks/UrgencyHook.hs @@ -58,11 +58,10 @@ import Foreign (unsafePerformIO) -- dzenUrgencyHook, or write your own. -- -- Wire your urgency hook into the layoutHook by use of the withUrgencyHook --- function. My setup, for example: +-- function. For example, add this to your config record: -- --- > layoutHook' = Layout $ withUrgencyHook dzenUrgencyHook { args = ["-bg", "darkgreen", "-xs", "1"] } --- > $ configurableNavigation noNavigateBorders --- > $ layouts +-- > , layoutHook = Layout $ withUrgencyHook dzenUrgencyHook { args = ["-bg", "darkgreen", "-xs", "1"] } +-- > $ layout -- -- It shouldn't hurt to have the "withUrgencyHook $" at the outermost layer, -- as above, as UrgencyHook is a LayoutModifier, and hence passes on any