From 36728ae60e3effdfe645a9a34cfd2e1067a37516 Mon Sep 17 00:00:00 2001 From: Adam Vogt Date: Thu, 22 Oct 2009 06:11:26 +0200 Subject: Refer to modm as the current modMask Ignore-this: d097c7dc1746c55e1d4078a7148f9d5a This makes the config suggestions consistent with the current template. darcs-hash:20091022041126-1499c-5dd63076fdd71a61276cfc8e648bada81d9cc586.gz --- XMonad/Util/NamedScratchpad.hs | 6 +++--- XMonad/Util/Run.hs | 4 ++-- XMonad/Util/XSelection.hs | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'XMonad/Util') diff --git a/XMonad/Util/NamedScratchpad.hs b/XMonad/Util/NamedScratchpad.hs index a7153e0..6e67571 100644 --- a/XMonad/Util/NamedScratchpad.hs +++ b/XMonad/Util/NamedScratchpad.hs @@ -72,9 +72,9 @@ import qualified XMonad.StackSet as W -- -- Add keybindings: -- --- > , ((modMask x .|. controlMask .|. shiftMask, xK_t), namedScratchpadAction scratchpads "htop") --- > , ((modMask x .|. controlMask .|. shiftMask, xK_s), namedScratchpadAction scratchpads "stardict") --- > , ((modMask x .|. controlMask .|. shiftMask, xK_n), namedScratchpadAction scratchpads "notes") +-- > , ((modm .|. controlMask .|. shiftMask, xK_t), namedScratchpadAction scratchpads "htop") +-- > , ((modm .|. controlMask .|. shiftMask, xK_s), namedScratchpadAction scratchpads "stardict") +-- > , ((modm .|. controlMask .|. shiftMask, xK_n), namedScratchpadAction scratchpads "notes") -- -- ... and a manage hook: -- 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 diff --git a/XMonad/Util/XSelection.hs b/XMonad/Util/XSelection.hs index e0f2ac8..83096d2 100644 --- a/XMonad/Util/XSelection.hs +++ b/XMonad/Util/XSelection.hs @@ -40,7 +40,7 @@ import Codec.Binary.UTF8.String (decode) the selection string is an URL you just highlighted), then one could add to the xmonad.hs a line like thus: - > , ((modMask .|. shiftMask, xK_b), promptSelection "firefox") + > , ((modm .|. shiftMask, xK_b), promptSelection "firefox") There are a number of known problems with XSelection: -- cgit v1.2.3