xmonad-contrib-0.7: Third party extensions for xmonadSource codeContentsIndex
MaintainerDavid Roundy <droundy@darcs.net>

WorkspaceDir is an extension to set the current directory in a workspace.


Note this extension requires the directory package to be installed.

workspaceDir :: LayoutClass l a => String -> l a -> ModifiedLayout WorkspaceDir l a
changeDir :: XPConfig -> X ()


 import XMonad.Layout.WorkspaceDir

Then edit your layoutHook by adding the Workspace layout modifier to some layout:

 myLayouts = workspaceDir "~" (Tall 1 (3/100) (1/2))  ||| Full ||| etc..
 main = xmonad defaultConfig { layoutHook = myLayouts }

For more detailed instructions on editing the layoutHook see:


WorkspaceDir provides also a prompt. To use it you need to import XMonad.Prompt and add something like this to your key bindings:

  , ((modMask x .|. shiftMask, xK_x     ), changeDir defaultXPConfig)

For detailed instruction on editing the key binding see:


changeDir :: XPConfig -> X ()Source
Produced by Haddock version 2.3.0