[XMonad] Make config available as variable

This commit is contained in:
Ivan Malison 2017-07-17 12:29:50 -07:00
parent 26a6305945
commit 00f47e9c0f
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -64,9 +64,7 @@ import XMonad.Util.NamedScratchpad
import XMonad.Util.NamedWindows (getName) import XMonad.Util.NamedWindows (getName)
import XMonad.Util.Run import XMonad.Util.Run
main = myConfig = def
xmonad . docks . pagerHints . ewmh $
def
{ modMask = mod4Mask { modMask = mod4Mask
, terminal = "termite" , terminal = "termite"
, manageHook = myManageHook <+> manageHook def , manageHook = myManageHook <+> manageHook def
@ -84,6 +82,8 @@ main =
} }
where where
x +++ y = mappend y x x +++ y = mappend y x
main = xmonad . docks . pagerHints . ewmh $ myConfig
-- Utility functions -- Utility functions