Brandon, thank you so much for this. (It had landed in my spam folder so I only found it now.) After adding that to my xmonad.hs I get these errors: xmonad.hs:68:17: Not in scope: `doTo' xmonad.hs:68:35: Not in scope: `getSortByIndex' xmonad.hs:68:67: Not in scope: `shift' Please check the file for errors. I checked the header of xmonad.hs and I am importing the file you mentioned: import Control.OldException import Control.Monad import XMonad import XMonad.Hooks.EwmhDesktops import qualified XMonad.StackSet as W import XMonad.Actions.CycleRecentWS import XMonad.Config.Gnome import XMonad.Hooks.DynamicLog import qualified XMonad.StackSet as W import XMonad.Util.EZConfig import XMonad.Actions.CycleWS import XMonad.ManageHook import XMonad.Hooks.ManageHelpers import XMonad.Layout.ShowWName import XMonad.Hooks.ManageDocks import XMonad.Util.Run(spawnPipe) import System.IO so I wonder why this is happening? thank you for any help! ~l ________________________________ From: Brandon Allbery <allbery.b@gmail.com> To: Mike Meyer <mwm@mired.org> Cc: xmonad@haskell.org Sent: Thursday, December 29, 2011 2:57 AM Subject: Re: [xmonad] switching to the workspace where a window just went? Looking at the source to cycleWS, looks like what you want is something like
,("C-<F1>", doTo Next EmptyWS getSortByIndex $ \ws -> windows (shift ws) >> windows (greedyView ws)) -- brandon s allbery allbery.b@gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad