aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorallbery.b <allbery.b@gmail.com>2015-03-30 18:05:23 +0200
committerallbery.b <allbery.b@gmail.com>2015-03-30 18:05:23 +0200
commit9eb74bc6c3c5c41bf1947cd90bdbe0dcdd147e04 (patch)
tree0e01ba4b3717095ac715c20f181c987ca6fe2887
parent78ca555fc0096b584c615724a4676ce53d85f58c (diff)
downloadXMonadContrib-9eb74bc6c3c5c41bf1947cd90bdbe0dcdd147e04.tar.gz
XMonadContrib-9eb74bc6c3c5c41bf1947cd90bdbe0dcdd147e04.tar.xz
XMonadContrib-9eb74bc6c3c5c41bf1947cd90bdbe0dcdd147e04.zip
mate-comment-fixup
Ignore-this: 687b5edc9220469f3e58abcfd4f6449c Correct the docstrings / comments in X.C.Mate, which still referenced gnomeConfig. Also update the session manager configuration to use dconf and a current (on Mint at least) path for the session config. darcs-hash:20150330160523-181ff-bbd5af2959609dc9de23a10ba40360da7d0628a5.gz
-rw-r--r--XMonad/Config/Mate.hs12
1 files changed, 6 insertions, 6 deletions
diff --git a/XMonad/Config/Mate.hs b/XMonad/Config/Mate.hs
index 153b259..1a32916 100644
--- a/XMonad/Config/Mate.hs
+++ b/XMonad/Config/Mate.hs
@@ -37,9 +37,9 @@ import System.Environment (getEnvironment)
-- > import XMonad
-- > import XMonad.Config.Mate
-- >
--- > main = xmonad gnomeConfig
+-- > main = xmonad mateConfig
--
--- For examples of how to further customize @gnomeConfig@ see "XMonad.Config.Desktop".
+-- For examples of how to further customize @mateConfig@ see "XMonad.Config.Desktop".
mateConfig = desktopConfig
{ terminal = "mate-terminal"
@@ -50,7 +50,7 @@ mateKeys (XConfig {modMask = modm}) = M.fromList $
[ ((modm, xK_p), mateRun)
, ((modm .|. shiftMask, xK_q), spawn "mate-session-save --logout-dialog") ]
--- | Launch the "Run Application" dialog. gnome-panel must be running for this
+-- | Launch the "Run Application" dialog. mate-panel must be running for this
-- to work.
mateRun :: X ()
mateRun = withDisplay $ \dpy -> do
@@ -68,10 +68,10 @@ mateRun = withDisplay $ \dpy -> do
-- xmonad is started.
--
-- This action reduces a delay on startup only only if you have configured
--- mate-session to start xmonad with a command such as (check local
--- documentation):
+-- mate-session to start xmonad with a command such as (check local
+-- > dconf write /org/mate/desktop/session/required_components/windowmanager "'xmonad'"
--
--- > gconftool-2 -s /desktop/gnome/session/required_components/windowmanager xmonad --type string
+-- (the extra quotes are required by dconf)
mateRegister :: MonadIO m => m ()
mateRegister = io $ do
x <- lookup "DESKTOP_AUTOSTART_ID" `fmap` getEnvironment