Eu escrevo xmonad.hs
ano atrás, mas agora ele falhou com o erro: Data constructor not in scope: OnlyFloat
. Como posso consertar isso?
Parte de xmonad.hs
:
myLayoutHook = gaps [(U,6),(L,6),(R,6)] (spacing 4 (lessBorders OnlyFloat (tiled))) ||| noBorders (fullscreenFull Full)
where
tiled = Tall nmaster delta ratio
nmaster = 1
ratio = 1/2
delta = 3/100
Erro:
xmonad.hs:36:65: error: Data constructor not in scope: OnlyFloat
|
36 | myLayoutHook = gaps [(U,6),(L,6),(R,6)] (spacing 4 (lessBorders OnlyFloat (tiled))) ||| noBorders (fullscreenFull Full)
|