mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-01 12:41:52 -07:00
~/.xmonad/xmonad.hs -> xmonad.hs
With XDG support so firmly ingrained now, it's about time we stop hard-coding the configuration path in the docs.
This commit is contained in:
@@ -37,7 +37,7 @@ import System.IO
|
||||
-- $usage
|
||||
--
|
||||
-- You can use this module by importing it, along with
|
||||
-- "XMonad.Prompt", into your ~\/.xmonad\/xmonad.hs file:
|
||||
-- "XMonad.Prompt", into your @xmonad.hs@ file:
|
||||
--
|
||||
-- > import XMonad.Prompt
|
||||
-- > import XMonad.Prompt.AppendFile
|
||||
|
@@ -35,7 +35,7 @@ econst :: Monad m => a -> IOException -> m a
|
||||
econst = const . return
|
||||
|
||||
-- $usage
|
||||
-- 1. In your @~\/.xmonad\/xmonad.hs@:
|
||||
-- 1. In your @xmonad.hs@:
|
||||
--
|
||||
-- > import XMonad.Prompt.DirExec
|
||||
--
|
||||
|
@@ -31,7 +31,7 @@ import XMonad.Prompt.Input
|
||||
-- $usage
|
||||
--
|
||||
-- You can use this module by importing it, along with
|
||||
-- "XMonad.Prompt", into your ~\/.xmonad\/xmonad.hs file:
|
||||
-- "XMonad.Prompt", into your @xmonad.hs@ file:
|
||||
--
|
||||
-- > import XMonad.Prompt
|
||||
-- > import XMonad.Prompt.Email
|
||||
|
@@ -26,7 +26,7 @@ import XMonad.Prompt.Workspace ( Wor(..) )
|
||||
import XMonad.StackSet ( workspaces, layout )
|
||||
|
||||
-- $usage
|
||||
-- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@:
|
||||
-- You can use this module with the following in your @xmonad.hs@:
|
||||
--
|
||||
-- > import XMonad.Prompt
|
||||
-- > import XMonad.Prompt.Layout
|
||||
|
@@ -39,7 +39,7 @@ import System.Process
|
||||
import qualified Control.Exception as E
|
||||
|
||||
-- $usage
|
||||
-- 1. In your @~\/.xmonad\/xmonad.hs@:
|
||||
-- 1. In your @xmonad.hs@:
|
||||
--
|
||||
-- > import XMonad.Prompt
|
||||
-- > import XMonad.Prompt.Man
|
||||
|
@@ -35,7 +35,7 @@ econst :: Monad m => a -> IOException -> m a
|
||||
econst = const . return
|
||||
|
||||
{- $usage
|
||||
1. In your @~\/.xmonad\/xmonad.hs@:
|
||||
1. In your @xmonad.hs@:
|
||||
|
||||
> import XMonad.Prompt
|
||||
> import XMonad.Prompt.RunOrRaise
|
||||
|
@@ -52,7 +52,7 @@ econst :: Monad m => a -> IOException -> m a
|
||||
econst = const . return
|
||||
|
||||
{- $usage
|
||||
1. In your @~\/.xmonad\/xmonad.hs@:
|
||||
1. In your @xmonad.hs@:
|
||||
|
||||
> import XMonad.Prompt
|
||||
> import XMonad.Prompt.Shell
|
||||
|
@@ -33,7 +33,7 @@ econst :: Monad m => a -> IOException -> m a
|
||||
econst = const . return
|
||||
|
||||
-- $usage
|
||||
-- 1. In your @~\/.xmonad\/xmonad.hs@:
|
||||
-- 1. In your @xmonad.hs@:
|
||||
--
|
||||
-- > import XMonad.Prompt
|
||||
-- > import XMonad.Prompt.Ssh
|
||||
|
@@ -29,7 +29,7 @@ import XMonad.Util.Themes
|
||||
|
||||
-- $usage
|
||||
-- You can use this module with the following in your
|
||||
-- @~\/.xmonad\/xmonad.hs@:
|
||||
-- @xmonad.hs@:
|
||||
--
|
||||
-- > import XMonad.Prompt
|
||||
-- > import XMonad.Prompt.Theme
|
||||
|
@@ -52,7 +52,7 @@ instance ExtensionClass UnicodeData where
|
||||
{- $usage
|
||||
|
||||
You can use this module by importing it, along with
|
||||
"XMonad.Prompt", into your ~\/.xmonad\/xmonad.hs file:
|
||||
"XMonad.Prompt", into your @xmonad.hs@ file:
|
||||
|
||||
> import XMonad.Prompt
|
||||
> import XMonad.Prompt.Unicode
|
||||
|
@@ -44,7 +44,7 @@ import XMonad.Util.NamedWindows
|
||||
-- where you left your XChat. It also offers helpers to build the
|
||||
-- subset of windows which is used for the prompt completion.
|
||||
--
|
||||
-- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@:
|
||||
-- You can use this module with the following in your @xmonad.hs@:
|
||||
--
|
||||
-- > import XMonad.Prompt
|
||||
-- > import XMonad.Prompt.Window
|
||||
|
@@ -28,7 +28,7 @@ import XMonad.StackSet ( workspaces, tag )
|
||||
import XMonad.Util.WorkspaceCompare ( getSortByIndex )
|
||||
|
||||
-- $usage
|
||||
-- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@:
|
||||
-- You can use this module with the following in your @xmonad.hs@:
|
||||
--
|
||||
-- > import XMonad.Prompt
|
||||
-- > import XMonad.Prompt.Workspace
|
||||
|
@@ -28,7 +28,7 @@ import XMonad.Actions.Commands (defaultCommands)
|
||||
import XMonad.Prelude (fromMaybe)
|
||||
|
||||
-- $usage
|
||||
-- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@:
|
||||
-- You can use this module with the following in your @xmonad.hs@:
|
||||
--
|
||||
-- > import XMonad.Prompt
|
||||
-- > import XMonad.Prompt.XMonad
|
||||
|
@@ -28,7 +28,7 @@ import XMonad.Util.Run
|
||||
|
||||
{- $usage
|
||||
1. Grab the @capture.zsh@ script to capture zsh completions from <https://github.com/Valodim/zsh-capture-completion>
|
||||
2. In your @~\/.xmonad\/xmonad.hs@:
|
||||
2. In your @xmonad.hs@:
|
||||
|
||||
> import XMonad.Prompt
|
||||
> import XMonad.Prompt.Zsh
|
||||
|
Reference in New Issue
Block a user