[xmonad] run a program when switching to a workspace
Brent Yorgey
byorgey at seas.upenn.edu
Mon Jun 8 16:07:33 EDT 2009
On Sun, Jun 07, 2009 at 01:24:52PM -0600, Sergey Manucharian wrote:
> On Mon, 1 Jun 2009 19:22:56 -0400
> Adam Vogt <vogt.adam at gmail.com> wrote:
>
> > * On Monday, June 01 2009, Wirt Wolff wrote:
> .....
> > I suggest using wmctrl in combination with Hooks.EwmhDesktops.
>
> Strange, I cannot get it working running xmonad from darcs:
>
> .....
> Not in scope: `ewmhDesktopsLayout'
> .....
>
> xmonad.hs:
>
> .....
> import XMonad.Hooks.EwmhDesktops
> .....
> layoutHook = ewmhDesktopsLayout $ avoidStruts $ .....
> .....
ewmhDesktopsLayout was recently (February 2009) removed from
X.H.EwmhDesktops and replaced with ewmhDesktopsEventHook,
which should be added to the handleEventHook in your config.
-Brent
More information about the xmonad
mailing list