diff options
Diffstat (limited to 'XMonad/Util/Run.hs')
-rw-r--r-- | XMonad/Util/Run.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/XMonad/Util/Run.hs b/XMonad/Util/Run.hs index 429fd87..bc35d9c 100644 --- a/XMonad/Util/Run.hs +++ b/XMonad/Util/Run.hs @@ -100,8 +100,8 @@ unsafeSpawn is internally an alias for XMonad's 'spawn', to remind one that use of it can be, well, unsafe. Examples: -> , ((modMask, xK_Print), unsafeSpawn "import -window root $HOME/xwd-$(date +%s)$$.png") -> , ((modMask, xK_d ), safeSpawn "firefox" "") +> , ((modm, xK_Print), unsafeSpawn "import -window root $HOME/xwd-$(date +%s)$$.png") +> , ((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 |