mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 03:20:21 -07:00
DirectoryPrompt: removed ShellPrompt usage info and added pointer to WorkspaceDir
This commit is contained in:
parent
3ad79e1266
commit
16b73d9d8a
@ -23,24 +23,7 @@ import XMonadContrib.XPrompt
|
||||
import XMonadContrib.Dmenu ( runProcessWithInput )
|
||||
|
||||
-- $usage
|
||||
--
|
||||
-- 1. In xmonad.cabal change:
|
||||
--
|
||||
-- > build-depends: base>=2.0, X11>=1.2.1, X11-extras>=0.2, mtl>=1.0, unix>=1.0
|
||||
--
|
||||
-- to
|
||||
--
|
||||
-- > build-depends: base>=2.0, X11>=1.2.1, X11-extras>=0.2, mtl>=1.0, unix>=1.0, readline >= 1.0
|
||||
--
|
||||
-- 2. In Config.hs add:
|
||||
--
|
||||
-- > import XMonadContrib.XPrompt
|
||||
-- > import XMonadContrib.ShellPrompt
|
||||
--
|
||||
-- 3. In your keybindings add something like:
|
||||
--
|
||||
-- > , ((modMask .|. controlMask, xK_x), shellPrompt defaultXPConfig)
|
||||
--
|
||||
-- For an example usage see "XMonadContrib.WorkspaceDir"
|
||||
|
||||
data Dir = Dir String
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user