about summary refs log tree commit diff
path: root/src/lib/XMonad/Custom/Config.hs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/XMonad/Custom/Config.hs35
1 files changed, 20 insertions, 15 deletions
diff --git a/src/lib/XMonad/Custom/Config.hs b/src/lib/XMonad/Custom/Config.hs
index 4a4af2d..2936363 100644
--- a/src/lib/XMonad/Custom/Config.hs
+++ b/src/lib/XMonad/Custom/Config.hs
@@ -3,20 +3,20 @@
 -- |
 -- Module                  : XMonad.Custom.Config
 -- Description             : Configuration entrypoint to be passed to executable
--- Copyright               : (c) Azat Bahawi 2018-2021
+-- Copyright               : (c) Azat Bahawi 2018-2022
 -- SPDX-License-Identifier : GPL-3.0-or-later
--- Maintainer              : azahi@teknik.io
+-- Maintainer              : azat@bahawi.net
 -- Stability               : experimental
 -- Portability             : non-portable
 --
 
 module XMonad.Custom.Config
-  ( myConfig
+  ( ngConfig
   ) where
 
 import           Flow
 import           XMonad
-import           XMonad.Actions.Navigation2D
+import           XMonad.Actions.Navigation2D    ( withNavigation2DConfig )
 import qualified XMonad.Custom.Bindings        as C
 import qualified XMonad.Custom.Event           as C
 import qualified XMonad.Custom.Layout          as C
@@ -25,24 +25,29 @@ import qualified XMonad.Custom.Misc            as C
 import qualified XMonad.Custom.Navigation      as C
 import qualified XMonad.Custom.Theme           as C
 import qualified XMonad.Custom.Workspaces      as C
-import           XMonad.Hooks.EwmhDesktops
-import           XMonad.Hooks.ManageDocks
-import           XMonad.Hooks.UrgencyHook
+import           XMonad.Hooks.EwmhDesktops      ( ewmh
+                                                , ewmhFullscreen
+                                                )
+import           XMonad.Hooks.ManageDocks       ( docks )
+import           XMonad.Hooks.UrgencyHook       ( borderUrgencyHook
+                                                , withUrgencyHook
+                                                )
 import           XMonad.Layout.IndependentScreens
+                                                ( countScreens )
 
-myConfig = do
+ngConfig = do
   screens <- countScreens
   def { borderWidth        = C.border
-      , workspaces         = C.myWorkspaces screens
-      , layoutHook         = C.layoutHook
+      , workspaces         = C.ngWorkspaces screens
+      , layoutHook         = C.ngLayoutHook
       , terminal           = C.term C.applications
       , normalBorderColor  = C.colorN
       , focusedBorderColor = C.colorF
-      , modMask            = C.modMask
-      , keys               = C.keys
-      , mouseBindings      = C.mouseBindings
-      , manageHook         = C.manageHook
-      , handleEventHook    = C.handleEventHook
+      , modMask            = C.ngModMask
+      , keys               = C.ngKeys
+      , mouseBindings      = C.ngMouseBindings
+      , manageHook         = C.ngManageHook
+      , handleEventHook    = C.ngHandleEventHook
       , focusFollowsMouse  = False
       , clickJustFocuses   = False
       }

Consider giving Nix/NixOS a try! <3