aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Hooks
diff options
context:
space:
mode:
authorDevin Mullins <me@twifkak.com>2008-05-25 07:02:31 +0200
committerDevin Mullins <me@twifkak.com>2008-05-25 07:02:31 +0200
commit59aa24736c4eb893d80a51ef29aa9de986249608 (patch)
treea64c470d1aa0ab575b221fbc829a593a9740a557 /XMonad/Hooks
parenteee99f38c73b75eed4b4fac283c75261800ae977 (diff)
downloadXMonadContrib-59aa24736c4eb893d80a51ef29aa9de986249608.tar.gz
XMonadContrib-59aa24736c4eb893d80a51ef29aa9de986249608.tar.xz
XMonadContrib-59aa24736c4eb893d80a51ef29aa9de986249608.zip
more documentation for WindowNavigation and UrgencyHook
darcs-hash:20080525050231-78224-669c83df86a8b585883d0fb3ef054e37670261e8.gz
Diffstat (limited to 'XMonad/Hooks')
-rw-r--r--XMonad/Hooks/UrgencyHook.hs26
1 files changed, 26 insertions, 0 deletions
diff --git a/XMonad/Hooks/UrgencyHook.hs b/XMonad/Hooks/UrgencyHook.hs
index 10861c9..96c2832 100644
--- a/XMonad/Hooks/UrgencyHook.hs
+++ b/XMonad/Hooks/UrgencyHook.hs
@@ -32,6 +32,9 @@ module XMonad.Hooks.UrgencyHook (
-- ** Note
-- $note
+ -- * Troubleshooting
+ -- $troubleshooting
+
-- * Example: Setting up irssi + rxvt-unicode
-- $example
@@ -124,6 +127,29 @@ import Foreign (unsafePerformIO)
-- urgency hook and restart xmonad, you may need to rejigger your layout by
-- hitting mod-shift-space.
+-- $troubleshooting
+--
+-- There are three steps to get right:
+--
+-- 1. The X client must set the UrgencyHint flag. How to configure this
+-- depends on the application. If you're using a terminal app, this is in
+-- two parts:
+--
+-- * The console app must send a ^G (bell). In bash, a helpful trick is
+-- @sleep 1; echo -e \'\a\'@.
+--
+-- * The terminal must convert the bell into UrgencyHint.
+--
+-- 2. XMonad must be configured to notice UrgencyHints. If you've added
+-- withUrgencyHook, you may need to hit mod-shift-space to reset the layout.
+--
+-- 3. The dzen must run when told. Run @dzen2 -help@ and make sure that it
+-- supports all of the arguments you told DzenUrgencyHook to pass it. Also,
+-- set up a keybinding to the 'dzen' action in "XMonad.Util.Dzen" to test
+-- if that works.
+--
+-- As best you can, try to isolate which one(s) of those is failing.
+
-- $example
--
-- This is a commonly asked example. By default, the window doesn't get flagged