[xmonad] darcs patch: GridSelect

Dominik Bruhn dominik at dbruhn.de
Mon Nov 10 09:04:58 EST 2008


Hy all,
I think of a second case: not to bring the window to you but bring you to the
workspace the window is on, and there focus it. Is this possible?

Thanks anyway

On Mon, Nov 10, 2008 at 01:36:25PM +0100, Clemens Fruhwirth wrote:
> At Mon, 10 Nov 2008 12:17:59 +0100,
> Dominik Bruhn wrote:
> > 
> > [1  <text/plain; us-ascii (quoted-printable)>]
> > Hy Clemens,
> > can you perhaps drop some lines on the mailinglist how to use (or try out) the
> > gridselect-module for xmonad? Im not that familiar with the xmonad-code so a
> > small hint would help. I tried to add a keybinding ("((modm, xK_g),
> > gridselect defaultGSConfig)") but thats not the way I is supposed to work, is
> > it?
> 
> Sorry, I have put my xmonad.hs line into the original mail that was
> swallowed by gmane, and I forget about it in the second.
> 
> Try:
>     , ((modMask', xK_f     ), (gridselect defaultGSConfig) >>= (\w -> case w of 
> 						      Just w -> windows (bringWindow w) >> focus w >> windows W.shiftMaster
> 						      Nothing -> return ()
> as keybinding.
> 
> That will forcefully raise/focus the window you selected with mod+F.
> --
> Fruhwirth Clemens - http://clemens.endorphin.org 
> 
> 

-- 
Dominik Bruhn
mailto: dominik at dbruhn.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/xmonad/attachments/20081110/f5e800b9/attachment.bin


More information about the xmonad mailing list