From df02707c6f293f7cd93ccc6088d0f9cb46e5b823 Mon Sep 17 00:00:00 2001 From: Andrea Rossato Date: Sat, 4 Aug 2007 12:44:08 +0200 Subject: ShellPrompt.hs: minor haddock corrections darcs-hash:20070804104408-32816-1fa6a469e31e8f6003e2df71e87b4ffaca3b500f.gz --- ShellPrompt.hs | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) (limited to 'ShellPrompt.hs') diff --git a/ShellPrompt.hs b/ShellPrompt.hs index 7fc0ce3..dfa77d0 100644 --- a/ShellPrompt.hs +++ b/ShellPrompt.hs @@ -17,22 +17,6 @@ module XMonadContrib.ShellPrompt ( -- $usage shellPrompt ) where -{- -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) - --} import XMonad import XMonadContrib.XPrompt @@ -42,6 +26,26 @@ import Data.List import System.Console.Readline import System.Environment +-- $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) +-- + data Shell = Shell instance XPrompt Shell where -- cgit v1.2.3