aboutsummaryrefslogtreecommitdiff
path: root/gui/conf/xmonad.hs
diff options
context:
space:
mode:
authorAdrian Kummerlaender2018-05-07 20:47:21 +0200
committerAdrian Kummerlaender2018-05-07 20:47:21 +0200
commitfd8cdce010e00fa2f19f9c0845a068d5f4873718 (patch)
treef56c341ac857d629eccf2cfb701e16b5b31665b7 /gui/conf/xmonad.hs
parenta71c5eca5dadbb75bf0c91d00ae780126f2bf4b1 (diff)
downloadnixos_home-fd8cdce010e00fa2f19f9c0845a068d5f4873718.tar
nixos_home-fd8cdce010e00fa2f19f9c0845a068d5f4873718.tar.gz
nixos_home-fd8cdce010e00fa2f19f9c0845a068d5f4873718.tar.bz2
nixos_home-fd8cdce010e00fa2f19f9c0845a068d5f4873718.tar.lz
nixos_home-fd8cdce010e00fa2f19f9c0845a068d5f4873718.tar.xz
nixos_home-fd8cdce010e00fa2f19f9c0845a068d5f4873718.tar.zst
nixos_home-fd8cdce010e00fa2f19f9c0845a068d5f4873718.zip
Use non-deprecated config name
Diffstat (limited to 'gui/conf/xmonad.hs')
-rw-r--r--gui/conf/xmonad.hs6
1 files 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