我在xmonad中使用withIM布局,我使用conky和dzen,这导致名单覆盖conky / dzen栏,而其他窗口不重叠。我在profanity
内使用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))
答案 0 :(得分:4)
您是否尝试过进一步拉出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