diff options
| author | Josh Rahm <rahm@google.com> | 2022-05-13 10:42:18 -0600 |
|---|---|---|
| committer | Josh Rahm <rahm@google.com> | 2022-05-13 10:42:18 -0600 |
| commit | 54c15ea7918b88dc9c0bab5e01fc26086cddfef1 (patch) | |
| tree | d6b7c47937619adf72ec9e4357a8e55ac3288e3c | |
| parent | 13f2c99387be8217fd48a252057957f6bf6ac230 (diff) | |
| download | rde-54c15ea7918b88dc9c0bab5e01fc26086cddfef1.tar.gz rde-54c15ea7918b88dc9c0bab5e01fc26086cddfef1.tar.bz2 rde-54c15ea7918b88dc9c0bab5e01fc26086cddfef1.zip | |
Remove taking the screen count from the workspaces. It breaks docking the laptop
| -rw-r--r-- | src/Main.hs | 3 |
1 files changed, 1 insertions, 2 deletions
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, |