xmonad-contrib-0.5: Third party extensions for xmonadSource codeContentsIndex
XMonad.Actions.FocusNth
Portabilityunportable
Stabilityunstable
MaintainerKarsten Schoelzel <kuser@gmx.de>
Contents
Usage
Description
Focus the nth window of the current workspace.
Synopsis
focusNth :: Int -> X ()
Usage

Add the import to your ~/.xmonad/xmonad.hs:

 import XMonad.Actions.FocusNth

Then add appropriate keybindings, for example:

 -- mod4-[1..9] @@ Switch to window N
 ++ [((modMask x, k), focusNth i)
     | (i, k) <- zip [0 .. 8] [xK_1 ..]]

For detailed instructions on editing your key bindings, see XMonad.Doc.Extending#Editing_key_bindings.

focusNth :: Int -> X ()Source
Give focus to the nth window of the current workspace.
Produced by Haddock version 2.3.0