aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Util
diff options
context:
space:
mode:
authorWirt Wolff <wirtwolff@gmail.com>2009-08-18 21:25:03 +0200
committerWirt Wolff <wirtwolff@gmail.com>2009-08-18 21:25:03 +0200
commite53b922365707337ffa3561b86281690f2b26fed (patch)
tree2da6ea2ee6b115afcd63506b989da76b77127ead /XMonad/Util
parent5959f0388196a67aee5862c45f2265f8607cc15b (diff)
downloadXMonadContrib-e53b922365707337ffa3561b86281690f2b26fed.tar.gz
XMonadContrib-e53b922365707337ffa3561b86281690f2b26fed.tar.xz
XMonadContrib-e53b922365707337ffa3561b86281690f2b26fed.zip
U.Scratchpad: doc add disable-factory flag to gnome-terminal example
Ignore-this: 6fd874a236121b5669b0ec5944caf205 Few systems have --disable-factory on by default, but it's needed to set custom resource string. http://code.google.com/p/xmonad/issues/detail?id08 darcs-hash:20090818192503-18562-a9984e53491830bda767c1dddbae44fb27cc8dff.gz
Diffstat (limited to 'XMonad/Util')
-rw-r--r--XMonad/Util/Scratchpad.hs5
1 files changed, 2 insertions, 3 deletions
diff --git a/XMonad/Util/Scratchpad.hs b/XMonad/Util/Scratchpad.hs
index 4fcd53d..60effae 100644
--- a/XMonad/Util/Scratchpad.hs
+++ b/XMonad/Util/Scratchpad.hs
@@ -80,10 +80,9 @@ scratchpadSpawnActionTerminal term =
-- | Action to pop up any program with the user specifying how to set
--- its resource to \"scratchpad\". For example, with gnome-terminal
--- bind the following to a key:
+-- its resource to \"scratchpad\". For example, with gnome-terminal:
--
--- > scratchpadSpawnActionCustom "gnome-terminal --name scratchpad"
+-- > scratchpadSpawnActionCustom "gnome-terminal --disable-factory --name scratchpad"
scratchpadSpawnActionCustom :: String -- ^ Command to spawn a program with resource \"scratchpad\"
-> X ()
scratchpadSpawnActionCustom c = namedScratchpadAction [NS "scratchpad" c scratchpadQuery nonFloating] "scratchpad"