2017-01-23 3 views
3

Ich benutze das withIM-Layout in xmonad und ich benutze conky und dzen, was dazu führt, dass der Dienstplan die conky/dzen-Leiste überlagert, während andere Fenster nicht überlappen. Ich verwende profanity innerhalb st als IM.xmonad Layout mitIM Höhe des Roster einstellen

Ich suchte eine Weile nach einer Lösung, um die Höhe zu ändern, aber ich fand nichts nützliches. Meine Layoutkonfiguration sieht wie folgt aus:

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

Antwort

4

Haben Sie versucht, die avoidStruts weiter herausziehen; etwas in diesen Zeilen:

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

Das funktioniert. Vielen Dank. – GiftZwergrapper