xmonadConfig :: XMonadConfig
xmonadConfig =
  def
    { -- Use Super instead of Alt
      modMask = mod4Mask,
      -- Hooks
      manageHook = manageDocks <+> manageAppsWorkspace <+> manageHook def,
      layoutHook = avoidStruts $ layoutHook def,
      handleEventHook = handleEvent <+> handleEventHook def <+> docksEventHook <+> fullscreenEventHook,
      -- Java swing applications and xmonad are not friends, so we need to pretend
      -- a little bit
      startupHook = setWMName "LG3D",
      -- Borders
      normalBorderColor = Color.backgroundInactive,
      focusedBorderColor = Color.backgroundActive,
      borderWidth = 1,
      -- Workspaces
      workspaces =
        [ wsCode1,
          wsCode2,
          wsWeb,
          wsChat,
          wsMedia,
          wsOther
        ],
      terminal = "alacritty"
    }
    `additionalKeysP` keybindings
xmonadConfig :: XMonadConfig
xmonadConfig =
  def
    { -- Use Super instead of Alt
      modMask = mod4Mask,
      -- Hooks
      manageHook = manageDocks <+> manageAppsWorkspace <+> manageHook def,
      layoutHook = avoidStruts $ layoutHook def,
      handleEventHook = handleEvent <+> handleEventHook def <+> docksEventHook <+> fullscreenEventHook,
      -- Java swing applications and xmonad are not friends, so we need to pretend
      -- a little bit
      startupHook = setWMName "LG3D",
      -- Borders
      normalBorderColor = Color.backgroundInactive,
      focusedBorderColor = Color.backgroundActive,
      borderWidth = 1,
      -- Workspaces
      workspaces =
        [ wsCode1,
          wsCode2,
          wsWeb,
          wsChat,
          wsMedia,
          wsOther
        ],
      terminal = "alacritty"
    }
    `additionalKeysP` keybindings
xmonadConfig =
  def
    { -- Use Super instead of Alt
      modMask = mod4Mask,
      -- Hooks
      manageHook = manageDocks <+> manageAppsWorkspace <+> manageHook def,
      layoutHook = avoidStruts $ layoutHook def,
      handleEventHook = handleEvent <+> handleEventHook def <+> docksEventHook <+> fullscreenEventHook,
      -- Java swing applications and xmonad are not friends, so we need to pretend
      -- a little bit
      startupHook = setWMName "LG3D",
      -- Borders
      normalBorderColor = Color.backgroundInactive,
      focusedBorderColor = Color.backgroundActive,
      borderWidth = 1,
      -- Workspaces
      workspaces =
        [ wsCode1,
          wsCode2,
          wsWeb,
          wsChat,
          wsMedia,
          wsOther
        ],
      terminal = "alacritty"
    }
    `additionalKeysP` keybindings