[xmonad] switching to the workspace where a window just went?

Lara Michaels laramichaels1978 at yahoo.com
Mon Jan 2 15:57:04 CET 2012


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 at gmail.com>
To: Mike Meyer <mwm at mired.org> 
Cc: xmonad at 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 at gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms


_______________________________________________
xmonad mailing list
xmonad at haskell.org
http://www.haskell.org/mailman/listinfo/xmonad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20120102/c4cc845b/attachment.htm>


More information about the xmonad mailing list