我在 xmonad 中使用 withIM 布局,并且使用 conky 和 dzen,这会导致花名册覆盖 conky/dzen 栏,而其他窗口不重叠。我在 st
中使用亵渎
作为 IM。
我搜索了一段时间来寻找改变高度的解决方案,但没有找到任何有用的东西。我的布局配置如下所示:
--
-- Layouts
--
sPx = 1
verticalLayout = spacing sPx $ avoidStruts $ reflectHoriz $ Tall 1 0.03 0.5
verticalLayoutLargeScreen = spacing sPx $ avoidStruts $ ThreeCol 1 0.03 0.5
horizontalLayout = spacing sPx $ avoidStruts $ Mirror $ Tall 1 0.03 0.5
webdevLayout = spacing sPx $ avoidStruts $ Tall 1 0.03 0.63
fullscreenLayout = noBorders $ fullscreenFull $ Full
myLayout =
onWorkspace "2:web" (webdevLayout ||| fullscreenLayout) $ reflectHoriz $
(withIM (3%7) (ClassName "Profanity")
(verticalLayoutLargeScreen ||| Grid ||| Full |||
verticalLayout ||| horizontalLayout ||| fullscreenLayout))
最佳答案
您是否尝试过将 avoidStruts
拉得更远?沿着这些思路:
verticalLayout = spacing sPx $ reflectHoriz $ Tall 1 0.03 0.5
verticalLayoutLargeScreen = spacing sPx $ ThreeCol 1 0.03 0.5
horizontalLayout = spacing sPx $ Mirror $ Tall 1 0.03 0.5
webdevLayout = spacing sPx $ Tall 1 0.03 0.63
fullscreenLayout = noBorders $ fullscreenFull $ Full
myLayout =
onWorkspace "2:web" (webdevLayout ||| fullscreenLayout) $
avoidStruts $
reflectHoriz $
withIM (3%7) (ClassName "Profanity") $
verticalLayoutLargeScreen |||
Grid |||
Full |||
verticalLayout |||
horizontalLayout |||
fullscreenLayout
关于haskell - 如何使用IM布局在xmonad中设置名册高度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41806091/