summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2015-09-14 19:39:55 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2015-09-14 19:41:25 +0200
commitca84fefdc3d74be165bca3ad09e6e7552ff450a4 (patch)
treec088c1329f2a1240d2493e439316aa09ee4ba8c7
parent6661497f7ca81e99a6d169b9045acf3a63394352 (diff)
downloadxmonad-config-ca84fefdc3d74be165bca3ad09e6e7552ff450a4.tar.gz
xmonad-config-ca84fefdc3d74be165bca3ad09e6e7552ff450a4.tar.xz
xmonad-config-ca84fefdc3d74be165bca3ad09e6e7552ff450a4.zip
Remove intermediate myConfig function
-rw-r--r--xmonad.hs31
1 files changed, 14 insertions, 17 deletions
diff --git a/xmonad.hs b/xmonad.hs
index 9c38d7d..d70ae03 100644
--- a/xmonad.hs
+++ b/xmonad.hs
@@ -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
+ }
--}}}