Menu

Christian Stryczynski

Freelance software developer. Haskelling at night. Hopefully unconventional. Fan of Dvorak

XMonad 4k / Large monitor friendly layout

https://github.com/chrissound/XMonadLayouts

Having a large monitor means each time I'd open a new window in XMonad, it' go to the topleft. Not ideal.

This creates a single main window with two side columns. The two side columns have the windows vertically stacked.

It's similar to https://hackage.haskell.org/package/xmonad-contrib-0.13/docs/XMonad-Layout-ThreeColumns.html but it does not "collapse" the columns if there is less then 3 windows.

Main features:

  • Main rectangle that is centered.
  • Additional rows can be added in the middle column.
  • Set a specific ratio between rows in the middle column can be set when there are two or three windows in the middle column.
  • Pin the left or right to have a maximum amount windows. (I usually have two left pinned windows). So for example you can pin the left column to only have a maximum of two windows, of which additional windows would accumulate on the right column.
  • Swop the left or right column with the middle column.
  • Swop or focus a window in the left or right column by the position in the column. For example you can focus the 3rd Window in the left column.
  • Set the left or right column width individually.

Written by Christian Stryczynski on Saturday April 8, 2017

Permalink -

« Awesome podcasts / talks about software development - Going freelance fulltime! »