XMonad.Layout.Monitor - ToggleMonitor message not working

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I've been trying to set up XMonad.Layout.Monitor. Instead of the cairo-clock example from the docs I've taken xclock. Unfortunately hiding/showing using the ToggleMonitor message does not work. I've tried to ignore xclock with the doIgnore managehook before the manageMonitor hook. Furthermore I've run xmonad with defaultConfig and only the manageMonitor hook applied. However, neither helped. Any ideas/hints on this issue? Thanks and kind regards, Jochen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk3ipmYACgkQtVwvsA+W4CCClQCggZ7yVCxaU8kHqbNG+5V4N8jt WzIAn0uIjlcTf5Xutdw/RGdKA9bsDUSd =CC4l -----END PGP SIGNATURE-----

Hi Jochen,
Here is a config which uses Monitor with xclock successfully, perhaps
when you compare with your attempt you'll see what went wrong:
import XMonad; import XMonad.Layout.Monitor
import XMonad.Layout.LayoutModifier
xclock = monitor { prop = ClassName "XClock", rect = Rectangle 0 0 40 40 }
main = xmonad defaultConfig
{ manageHook = manageHook defaultConfig <+> manageMonitor xclock,
layoutHook = ModifiedLayout xclock (layoutHook defaultConfig) }
--
Adam
On Sun, May 29, 2011 at 4:02 PM, Jochen Keil
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello,
I've been trying to set up XMonad.Layout.Monitor. Instead of the cairo-clock example from the docs I've taken xclock. Unfortunately hiding/showing using the ToggleMonitor message does not work.
I've tried to ignore xclock with the doIgnore managehook before the manageMonitor hook. Furthermore I've run xmonad with defaultConfig and only the manageMonitor hook applied.
However, neither helped. Any ideas/hints on this issue?
Thanks and kind regards,
Jochen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk3ipmYACgkQtVwvsA+W4CCClQCggZ7yVCxaU8kHqbNG+5V4N8jt WzIAn0uIjlcTf5Xutdw/RGdKA9bsDUSd =CC4l -----END PGP SIGNATURE-----
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
participants (2)
-
adam vogt
-
Jochen Keil