From 6f88e0e133317579b611a7b86fdd2ca0952c55b6 Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Fri, 13 May 2022 10:42:18 -0600 Subject: Remove taking the screen count from the workspaces. It breaks docking the laptop --- src/Main.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/Main.hs') diff --git a/src/Main.hs b/src/Main.hs index 25403d4..81a874b 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -38,7 +38,6 @@ main = do setEnv "ROFI" menuCommandString xmobar <- spawnXMobar - count <- fromIntegral . screenCount <$> openDisplay "" (=<<) X.xmonad $ applyKeys $ withLocationChangeHook historyHook $ ewmh $ docks $ def @@ -68,7 +67,7 @@ main = do -- with something. However, this configuration only supports 36 -- monitors on boot. If you need more than 36 monitors, you'll have to -- configure those ones after starting XMonad. - , workspaces = map return (take count $ ['0'..'9'] ++ ['a'..'z']) + , workspaces = map return (['0'..'9'] ++ ['a'..'z']) , handleEventHook = composeAll [ fullscreenEventHook, -- cgit