mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-17 13:24:14 -07:00
clarify config code... a bit
This commit is contained in:
@@ -58,11 +58,10 @@ import Foreign (unsafePerformIO)
|
|||||||
-- dzenUrgencyHook, or write your own.
|
-- dzenUrgencyHook, or write your own.
|
||||||
--
|
--
|
||||||
-- Wire your urgency hook into the layoutHook by use of the withUrgencyHook
|
-- 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"] }
|
-- > , layoutHook = Layout $ withUrgencyHook dzenUrgencyHook { args = ["-bg", "darkgreen", "-xs", "1"] }
|
||||||
-- > $ configurableNavigation noNavigateBorders
|
-- > $ layout
|
||||||
-- > $ layouts
|
|
||||||
--
|
--
|
||||||
-- It shouldn't hurt to have the "withUrgencyHook $" at the outermost layer,
|
-- It shouldn't hurt to have the "withUrgencyHook $" at the outermost layer,
|
||||||
-- as above, as UrgencyHook is a LayoutModifier, and hence passes on any
|
-- as above, as UrgencyHook is a LayoutModifier, and hence passes on any
|
||||||
|
Reference in New Issue
Block a user