diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2015-09-14 19:39:55 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2015-09-14 19:41:25 +0200 |
commit | ca84fefdc3d74be165bca3ad09e6e7552ff450a4 (patch) | |
tree | c088c1329f2a1240d2493e439316aa09ee4ba8c7 | |
parent | 6661497f7ca81e99a6d169b9045acf3a63394352 (diff) | |
download | xmonad-config-ca84fefdc3d74be165bca3ad09e6e7552ff450a4.tar.gz xmonad-config-ca84fefdc3d74be165bca3ad09e6e7552ff450a4.tar.xz xmonad-config-ca84fefdc3d74be165bca3ad09e6e7552ff450a4.zip |
Remove intermediate myConfig function
-rw-r--r-- | xmonad.hs | 31 |
1 files changed, 14 insertions, 17 deletions
@@ -99,23 +99,20 @@ main = do -- overwrite the setWMName "LG3D" and some Java apps will not work. $ pagerHints $ withUrgencyHook myDzenUrgencyConfig - $ myConfig dzenStatusFile - -myConfig statusFile = defaultConfig - { modMask = modM - , terminal = term - , borderWidth = 1 - , normalBorderColor = "#545454" - , focusedBorderColor = "#A00000" - , logHook = myLogHook statusFile - , manageHook = myManageHook - , keys = \c -> mkKeymap c $ myKeys c - , mouseBindings = \c -> M.union (M.fromList $ myMouse c) $ mouseBindings defaultConfig c - , layoutHook = myLayout - , workspaces = myWorkspaces - , handleEventHook = myEventHook - , startupHook = myStartupHook - } + $ defaultConfig { modMask = modM + , terminal = term + , borderWidth = 1 + , normalBorderColor = "#545454" + , focusedBorderColor = "#A00000" + , logHook = myLogHook dzenStatusFile + , manageHook = myManageHook + , keys = \c -> mkKeymap c $ myKeys c + , mouseBindings = \c -> M.union (M.fromList $ myMouse c) $ mouseBindings defaultConfig c + , layoutHook = myLayout + , workspaces = myWorkspaces + , handleEventHook = myEventHook + , startupHook = myStartupHook + } --}}} |