2017-01-23 3 views
3

xmonad에서 withIM 레이아웃을 사용하고 있으며 conky 및 dzen을 사용하고 있습니다. 이로 인해 다른 Windows는 겹치지 않지만 conky/dzen 바를 덮어 씁니다. 나는 st 안에 profanity을 IM으로 사용하고 있습니다.xmonad 레이아웃에 로스터의 높이가 설정된

나는 높이를 변경하는 해결책을 찾기 위해 잠시 동안 검색했지만 유용하지 않은 것은 찾지 못했습니다. 내 레이아웃 구성은 다음과 같습니다

-- 
    -- 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)) 

답변

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 
+1

그것은 작동합니다. 고맙습니다. – GiftZwergrapper