aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Util/Scratchpad.hs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--XMonad/Util/Scratchpad.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/XMonad/Util/Scratchpad.hs b/XMonad/Util/Scratchpad.hs
index 3eab56c..b9b4405 100644
--- a/XMonad/Util/Scratchpad.hs
+++ b/XMonad/Util/Scratchpad.hs
@@ -51,13 +51,13 @@ import qualified XMonad.StackSet
-- | Complete key binding. Pops up the terminal on mod+s.
-scratchpadSpawnDefault :: XConfig Layout -- ^ The configuration, to retrieve terminal and modMask
+scratchpadSpawnDefault :: XConfig l -- ^ The configuration, to retrieve terminal and modMask
-> ((KeyMask, KeySym), X ())
scratchpadSpawnDefault conf = ((modMask conf, xK_s), scratchpadSpawnAction conf)
-- | Action to pop up the terminal, for the user to bind to a custom key.
-scratchpadSpawnAction :: XConfig Layout -- ^ The configuration, to retrieve the terminal
+scratchpadSpawnAction :: XConfig l -- ^ The configuration, to retrieve the terminal
-> X ()
scratchpadSpawnAction conf = spawn $ terminal conf ++ " -title scratchpad"