aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Prompt
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--XMonad/Prompt.hs2
-rw-r--r--XMonad/Prompt/AppLauncher.hs4
2 files changed, 3 insertions, 3 deletions
diff --git a/XMonad/Prompt.hs b/XMonad/Prompt.hs
index c91fe64..eb25fba 100644
--- a/XMonad/Prompt.hs
+++ b/XMonad/Prompt.hs
@@ -719,7 +719,7 @@ writeHistory :: History -> IO ()
writeHistory hist = do
path <- getHistoryFile
catch (writeFile path (show hist)) $ const $ hPutStrLn stderr "error in writing"
- setFileMode path mode
+ setFileMode path mode
where mode = ownerReadMode .|. ownerWriteMode
-- $xutils
diff --git a/XMonad/Prompt/AppLauncher.hs b/XMonad/Prompt/AppLauncher.hs
index 5da089f..7af348b 100644
--- a/XMonad/Prompt/AppLauncher.hs
+++ b/XMonad/Prompt/AppLauncher.hs
@@ -8,7 +8,7 @@
-- Stability : unstable
-- Portability : unportable
--
--- A module for launch applicationes that receive parameters in the command
+-- A module for launch applicationes that receive parameters in the command
-- line. The launcher call a prompt to get the parameters.
--
-----------------------------------------------------------------------------
@@ -31,7 +31,7 @@ import XMonad.Prompt.Shell (getShellCompl)
you want to open a image in gimp program, you can open gimp and then use
the File Menu to open the image or you can use this module to select
the image in the command line.
-
+
We use Prompt to get the user command line. This also allow to autoexpand
the names of the files when we are writing the command line.
-}