about summary refs log tree commit diff
path: root/src/lib/XMonad/Custom/Workspaces.hs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/XMonad/Custom/Workspaces.hs15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/lib/XMonad/Custom/Workspaces.hs b/src/lib/XMonad/Custom/Workspaces.hs
index 43d8aa2..995fb9f 100644
--- a/src/lib/XMonad/Custom/Workspaces.hs
+++ b/src/lib/XMonad/Custom/Workspaces.hs
@@ -1,19 +1,22 @@
 -- |
 -- Module                  : XMonad.Custom.Workspaces
 -- Description             : General workspace configuration
--- 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.Workspaces
-  ( myWorkspaces
+  ( ngWorkspaces
   ) where
 
-import           XMonad.Core
+import           XMonad.Core                    ( ScreenId )
 import           XMonad.Layout.IndependentScreens
+                                                ( PhysicalWorkspace
+                                                , withScreens
+                                                )
 
-myWorkspaces :: ScreenId -> [PhysicalWorkspace]
-myWorkspaces = flip withScreens $ map show [1 .. 9 :: Int]
+ngWorkspaces :: ScreenId -> [PhysicalWorkspace]
+ngWorkspaces = flip withScreens $ map show [1 .. 9 :: Int]

Consider giving Nix/NixOS a try! <3