aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2022-05-13 10:42:18 -0600
committerJosh Rahm <joshuarahm@gmail.com>2022-10-09 12:19:46 -0600
commit6f88e0e133317579b611a7b86fdd2ca0952c55b6 (patch)
treed6b7c47937619adf72ec9e4357a8e55ac3288e3c /src
parentc6ffb3fd47b9b02dd0d1a950696d1944794c577b (diff)
downloadrde-6f88e0e133317579b611a7b86fdd2ca0952c55b6.tar.gz
rde-6f88e0e133317579b611a7b86fdd2ca0952c55b6.tar.bz2
rde-6f88e0e133317579b611a7b86fdd2ca0952c55b6.zip
Remove taking the screen count from the workspaces. It breaks docking the laptop
Diffstat (limited to 'src')
-rw-r--r--src/Main.hs3
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,