[xmonad] run a program when switching to a workspace

Adam Vogt vogt.adam at gmail.com
Mon Jun 1 19:22:56 EDT 2009


* On Monday, June 01 2009, Wirt Wolff wrote:

>Excerpts from Sergey Manucharian's message of Mon Jun 01 09:25:09 -0600 2009:
>> On Sun, 31 May 2009 09:52:31 -0600
>> Wirt Wolff <wirtwolff at gmail.com> wrote:
>> >.......
>> 
>> By the way, how you can pass an event to xmonad from dzen clickable
>> areas (or any other external program)?
>> 
>> Cheers,
>> Sergey
>
>It's not really passing to xmonad, as far as I know people use xdotool
>or similar program to generate xorg keypresses. Really this is just
>another case of keybinding.

I suggest using wmctrl in combination with Hooks.EwmhDesktops.

XMonad.Hooks.ServerMode might work too.



More information about the xmonad mailing list