~/.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:
Tony Zorman
2023-12-22 18:16:07 +01:00
parent c01cd3a33b
commit b1b3c4c469
194 changed files with 210 additions and 213 deletions

View File

@@ -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

View File

@@ -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
--

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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