mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-31 04:01:51 -07:00
C.Gnome combine with instead of replace Desktop startupHook
Now that C.Desktop sets startupHook do both rather than only gnomeRegister.
This commit is contained in:
@@ -40,7 +40,7 @@ import System.Environment (getEnvironment)
|
||||
gnomeConfig = desktopConfig
|
||||
{ terminal = "gnome-terminal"
|
||||
, keys = \c -> gnomeKeys c `M.union` keys desktopConfig c
|
||||
, startupHook = gnomeRegister }
|
||||
, startupHook = gnomeRegister >> startupHook desktopConfig }
|
||||
|
||||
gnomeKeys (XConfig {modMask = modm}) = M.fromList $
|
||||
[ ((modm, xK_p), gnomeRun)
|
||||
@@ -62,7 +62,7 @@ gnomeRun = withDisplay $ \dpy -> do
|
||||
|
||||
-- | Register xmonad with gnome. 'dbus-send' must be in the $PATH with which
|
||||
-- xmonad is started.
|
||||
--
|
||||
--
|
||||
-- This action reduces a delay on startup only only if you have configured
|
||||
-- gnome-session>=2.26: to start xmonad with a command as such:
|
||||
--
|
||||
|
Reference in New Issue
Block a user