about summary refs log tree commit diff
path: root/src/lib/XMonad/Custom/Workspaces.hs
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2022-08-16 01:46:04 +0300
committerAzat Bahawi <azat@bahawi.net>2022-08-16 01:46:04 +0300
commit3cd06b22069c009b8c5fea2d5fad5f996667d2e3 (patch)
tree4b5f1cb453de13c560bc8aa5a57952713cf360aa /src/lib/XMonad/Custom/Workspaces.hs
parentabsolute garbage wtf (diff)
huge update-o
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