[xmonad] XMonad.Hooks.UrgencyHook broken?

Ricardo Martins ricardo at scarybox.net
Sat Jan 19 18:45:19 EST 2008

On Sat, 19 Jan 2008 23:30:46 +0000
"David Chanters" <david.chanters at googlemail.com> wrote:
> Ok - i did this and restarted pidgin, and still nothing.  Where would
> the dzen bar appear?  i have other dzen instances running just fine.
> if it matters, here's the relevant lines from my config:
> statusBarCmd= "dzen2 -bg '#2c2c32' -fg 'grey70' -w 370 -x 0 -ta l -p -e ''"
> main = do din <- spawnPipe statusBarCmd
>           xmonad $ withUrgencyHook dzenUrgencyHook { args = ["-bg",
> "purple", "-fg", "white", "-xs", "-1"] }
>                  $ sConfig d
> Certainly I see nothing on screen 1 --- should I?  And for how long,
> and where?  I don't even know what I am supposed to be seeing.  :)

Hmm, shouldn't it be "1" instead of "-1" after "-xs"?

I don't use Xinerama, so I don't know the behaviour with more than one screen, but the dzen notification should appear on top of your screen, for about 1 or two seconds. I'm far too ignorant about xmonad and dzen to be sure, actually.

Test with gajim (jabber client), if you can. Its urgent events work correctly out of the box. Just make sure the conversation windows isn't focused.

 Ricardo Martins  *  scarybox.net  *  GPG key: 0x1308F1B4

More information about the xmonad mailing list