aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Util
diff options
context:
space:
mode:
Diffstat (limited to 'XMonad/Util')
-rw-r--r--XMonad/Util/Scratchpad.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/XMonad/Util/Scratchpad.hs b/XMonad/Util/Scratchpad.hs
index 65da63d..2f29dc4 100644
--- a/XMonad/Util/Scratchpad.hs
+++ b/XMonad/Util/Scratchpad.hs
@@ -50,7 +50,7 @@ import qualified XMonad.StackSet as W
-- quarter-screen-tall window.
-- The key, position and size are configurable.
--
--- The terminal application must support the @-title@ argument.
+-- The terminal application must support the @-name@ argument.
-- Known supported terminals: rxvt, rxvt-unicode, xterm.
-- Most others are likely to follow the lead set by xterm.
--
@@ -71,14 +71,14 @@ import qualified XMonad.StackSet as W
scratchpadSpawnAction :: XConfig l -- ^ The configuration, to retrieve the terminal
-> X ()
scratchpadSpawnAction conf =
- scratchpadAction $ spawn $ terminal conf ++ " -title scratchpad"
+ scratchpadAction $ spawn $ terminal conf ++ " -name scratchpad"
-- | Action to pop up the terminal, with a directly specified terminal.
scratchpadSpawnActionTerminal :: String -- ^ Name of the terminal program
-> X ()
scratchpadSpawnActionTerminal term =
- scratchpadAction $ spawn $ term ++ " -title scratchpad"
+ scratchpadAction $ spawn $ term ++ " -name scratchpad"
@@ -114,7 +114,7 @@ scratchpadWorkspaceTag = "SP"
-- factored out since this is common to both the ManageHook and the action
scratchpadQuery :: Query Bool
-scratchpadQuery = title =? "scratchpad"
+scratchpadQuery = resource =? "scratchpad"
-- | The ManageHook, with the default rectangle: