mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-09 08:21:51 -07:00
SshPrompt.hs: minor haddock corrections
This commit is contained in:
23
SshPrompt.hs
23
SshPrompt.hs
@@ -17,18 +17,6 @@ module XMonadContrib.SshPrompt (
|
|||||||
-- $usage
|
-- $usage
|
||||||
sshPrompt
|
sshPrompt
|
||||||
) where
|
) where
|
||||||
{-
|
|
||||||
usage:
|
|
||||||
1. In Config.hs add:
|
|
||||||
|
|
||||||
> import XMonadContrib.XPrompt
|
|
||||||
> import XMonadContrib.SshPrompt
|
|
||||||
|
|
||||||
3. In your keybindings add something like:
|
|
||||||
|
|
||||||
> , ((modMask .|. controlMask, xK_x), xmonadPrompt defaultPromptConfig)
|
|
||||||
|
|
||||||
-}
|
|
||||||
|
|
||||||
import XMonad
|
import XMonad
|
||||||
import XMonadContrib.XPrompt
|
import XMonadContrib.XPrompt
|
||||||
@@ -37,6 +25,17 @@ import Control.Monad
|
|||||||
import System.Directory
|
import System.Directory
|
||||||
import System.Environment
|
import System.Environment
|
||||||
|
|
||||||
|
-- $usage
|
||||||
|
-- 1. In Config.hs add:
|
||||||
|
--
|
||||||
|
-- > import XMonadContrib.XPrompt
|
||||||
|
-- > import XMonadContrib.SshPrompt
|
||||||
|
--
|
||||||
|
-- 3. In your keybindings add something like:
|
||||||
|
--
|
||||||
|
-- > , ((modMask .|. controlMask, xK_x), xmonadPrompt defaultXPConfig)
|
||||||
|
--
|
||||||
|
|
||||||
data Ssh = Ssh
|
data Ssh = Ssh
|
||||||
|
|
||||||
instance XPrompt Ssh where
|
instance XPrompt Ssh where
|
||||||
|
Reference in New Issue
Block a user