From fd8cdce010e00fa2f19f9c0845a068d5f4873718 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Mon, 7 May 2018 20:47:21 +0200 Subject: Use non-deprecated config name --- gui/conf/xmonad.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gui/conf/xmonad.hs b/gui/conf/xmonad.hs index 46547eb..ccceeca 100644 --- a/gui/conf/xmonad.hs +++ b/gui/conf/xmonad.hs @@ -120,7 +120,7 @@ keybindings = , ("M-c m" , spawn "amixer sset Master toggle") ] customEventHook = do - handleEventHook defaultConfig + handleEventHook def fullscreenEventHook customLogHook = do @@ -128,13 +128,13 @@ customLogHook = do customizeBorderWhen (isFloat <&&> isNotFullscreen) "#aadb0f" 6 main = xmonad $ ewmh - $ defaultConfig + $ def { modMask = mod4Mask -- super key as modifier , borderWidth = 3 , normalBorderColor = "#161616" , focusedBorderColor = "#909737" , keys = \c -> mkKeymap c keybindings - , startupHook = return () >> checkKeymap defaultConfig keybindings + , startupHook = return () >> checkKeymap def keybindings , handleEventHook = customEventHook , layoutHook = availableLayouts , manageHook = namedScratchpadManageHook scratchpads -- cgit v1.2.3