From 247a3161cf84650d296ef94b814b1d98f9c1d296 Mon Sep 17 00:00:00 2001 From: gwern0 Date: Sun, 20 Jun 2010 19:51:58 +0200 Subject: XMonad.Util.Run: correct broken example Ignore-this: b390fa0e36b0bd629e7016797e316760 darcs-hash:20100620175158-f7719-cfd30111efaeb0bf3a63763818d957293c73b93b.gz --- XMonad/Util/Run.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3