From 33132d2a13aa9d4b4e476f791a3eea0d886dcf93 Mon Sep 17 00:00:00 2001 From: Devin Mullins Date: Sun, 11 Nov 2007 01:09:33 +0100 Subject: clarify config code... a bit darcs-hash:20071111000933-78224-9706f2df9492cadb87966ef33f03002240b25e1a.gz --- XMonad/Hooks/UrgencyHook.hs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'XMonad') diff --git a/XMonad/Hooks/UrgencyHook.hs b/XMonad/Hooks/UrgencyHook.hs index ea0e314..3cd881b 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 -- cgit v1.2.3