aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Util
diff options
context:
space:
mode:
authorgwern0 <gwern0@gmail.com>2010-06-20 19:51:58 +0200
committergwern0 <gwern0@gmail.com>2010-06-20 19:51:58 +0200
commit247a3161cf84650d296ef94b814b1d98f9c1d296 (patch)
tree897b9a70a22252ee66562f3761cb77b0fe9de9aa /XMonad/Util
parent578903317111d2396e63c453800f4241dc4a45b7 (diff)
downloadXMonadContrib-247a3161cf84650d296ef94b814b1d98f9c1d296.tar.gz
XMonadContrib-247a3161cf84650d296ef94b814b1d98f9c1d296.tar.xz
XMonadContrib-247a3161cf84650d296ef94b814b1d98f9c1d296.zip
XMonad.Util.Run: correct broken example
Ignore-this: b390fa0e36b0bd629e7016797e316760 darcs-hash:20100620175158-f7719-cfd30111efaeb0bf3a63763818d957293c73b93b.gz
Diffstat (limited to 'XMonad/Util')
-rw-r--r--XMonad/Util/Run.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/XMonad/Util/Run.hs b/XMonad/Util/Run.hs
index 6820cad..1d03ff4 100644
--- a/XMonad/Util/Run.hs
+++ b/XMonad/Util/Run.hs
@@ -101,7 +101,7 @@ of it can be, well, unsafe.
Examples:
> , ((modm, xK_Print), unsafeSpawn "import -window root $HOME/xwd-$(date +%s)$$.png")
-> , ((modm, xK_d ), safeSpawn "firefox" "")
+> , ((modm, xK_d ), safeSpawn "firefox" [])
Note that the unsafeSpawn example must be unsafe and not safe because
it makes use of shell interpretation by relying on @$HOME@ and