세로형 모니터를 위한 XMonad 레이아웃

세로형 모니터를 위한 XMonad 레이아웃

내 모니터 배열에는 프로필 방향으로 2개의 27인치 모니터가 포함되어 있습니다. Tall레이아웃(XMonad의 기본 레이아웃)은 내 모니터 설정에 매우 좋지 않은 선택이지만 레이아웃 갤러리를 살펴본 후에는 대부분의 레이아웃이 가로 모니터를 가정하는 것으로 보입니다.

프로필 모니터에 적합한 레이아웃이 있나요? 어쩌면 다음과 같을 수도 있지만 Tall먼저 수평으로 분할된 다음 마스터가 아닌 창 사이에서 수직으로 분할됩니까?

내 모니터 설정:

Screen 0: minimum 8 x 8, current 4800 x 2560, maximum 32767 x 32767
eDP1 connected 1920x1080+2880+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080      60.0*+   59.9     40.0  
   1680x1050      60.0     59.9  
   1600x1024      60.2  
   1400x1050      60.0  
   1600x900       60.0  
   1280x1024      60.0  
   1440x900       59.9  
   1280x960       60.0  
   1368x768       60.0  
   1360x768       59.8     60.0  
   1152x864       60.0  
   1280x720       60.0  
   1024x768       60.0  
   1024x576       60.0  
   960x540        60.0  
   800x600        60.3     56.2  
   864x486        60.0  
   640x480        59.9  
   720x405        60.0  
   640x360        60.0  
DP1 disconnected (normal left inverted right x axis y axis)
DP1-1 connected primary 1440x2560+0+0 left (normal left inverted right x axis y axis) 597mm x 336mm
   3440x1440_40.00   40.0 +
   2560x1440      60.0*+
   2880x1620      60.0  
   2560x1440_40.00   40.0  
   1920x1080      60.0     50.0     59.9     24.0     24.0  
   1600x1200      60.0  
   1680x1050      60.0  
   1280x1024      75.0     60.0  
   1440x900       59.9  
   1280x960       60.0  
   1280x800       74.9  
   1152x864       75.0  
   1280x720       60.0     50.0     59.9  
   1024x768       75.1     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   720x576        50.0  
   720x480        60.0     59.9  
   640x480        75.0     72.8     66.7     60.0     59.9  
   720x400        70.1  
DP1-2 connected 1440x2560+1440+0 right (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440      60.0*+
   3440x1440      40.0  
   2880x1620      60.0  
   2560x1440_40.00   40.0  
   1920x1080      60.0     50.0     59.9     24.0     24.0  
   1600x1200      60.0  
   1680x1050      60.0  
   1280x1024      75.0     60.0  
   1440x900       59.9  
   1280x960       60.0  
   1280x800       74.9  
   1152x864       75.0  
   1280x720       60.0     50.0     59.9  
   1024x768       75.1     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   720x576        50.0  
   720x480        60.0     59.9  
   640x480        75.0     72.8     66.7     60.0     59.9  
   720x400        70.1  
DP1-3 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

답변1

싶어하시는 것 같군요Tall 레이아웃을 90도 회전.

이를 사용하는 방법에 대한 최소한의 예는 이 레이아웃을 layoutHookXmonad 구성에 배치하는 것입니다.

 main = do
     xmonad $ defaultConfig { layoutHook = Mirror $ Tall 1 (3/100) (0.5) }

이로 인해 Xmonad는 Tall1개의 마스터 영역, 3/100증분 및 50% 비율의 레이아웃을 사용하게 됩니다. Mirror이 레이아웃을 90도로 바꿉니다.

관련 정보