aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--XMonad/Prompt/AppendFile.hs8
1 files changed, 5 insertions, 3 deletions
diff --git a/XMonad/Prompt/AppendFile.hs b/XMonad/Prompt/AppendFile.hs
index 0adcd26..945c8de 100644
--- a/XMonad/Prompt/AppendFile.hs
+++ b/XMonad/Prompt/AppendFile.hs
@@ -47,10 +47,12 @@ import Control.Exception.Extensible (bracket)
-- example, to preface notes with the time they were made, one could write a
-- binding like
--
--- > , ((modm .|. controlMask, xK_n), spawn ("date>>"++"/home/me/NOTES") >> appendFilePrompt
--- defaultXPConfig "/home/me/NOTES"
+-- > , ((modm .|. controlMask, xK_n), do
+-- > spawn ("date>>"++"/home/me/NOTES")
+-- > appendFilePrompt defaultXPConfig "/home/me/NOTES"
+-- > )
--
--- (And vice-versa to append the time instead.)
+-- (Put the spawn on the line after the prompt to append the time instead.)
--
-- For detailed instructions on editing your key bindings, see
-- "XMonad.Doc.Extending#Editing_key_bindings".