[xmonad] run a program when switching to a workspace
alexey.skladnoy at gmail.com
Mon May 25 11:03:28 EDT 2009
On Monday 25 of May 2009 18:47:42 Sergey Manucharian wrote:
> Hi folks,
> How can I configure xmonad to run a program when switching to a
> particular workspace? Example: I want to run a script changing the
> keyboard layout to "us" unconditionally when I'm on particular
> workspaces (with ssh, rdesktop etc.).
Use something like this. I used key bindings description from EZConfig.
> (("M-w") , spawn "some-program" >> windows $ W.greedyView "Some workspace")
More information about the xmonad