cortile icon indicating copy to clipboard operation
cortile copied to clipboard

Configurable layout cycle order

Open thiswillbeyourgithub opened this issue 1 year ago • 1 comments

Hi,

I don't think this can be done currently but I think it would be great if the config could accept a list of string that represents the order of the layout. This way we could also not include a layout we never use, which is handy as right now I didn't find a way to disable a layout entirely or from scroll.

For example I could have a special shortcut to toggle a specific layout, and not want this layout to be suggested when I'm cycling the layout.

thiswillbeyourgithub avatar Oct 27 '24 22:10 thiswillbeyourgithub

The config.toml file now has this additional entry, which can be used to define the used cycling layouts and there appropriate order:

# List of tiling layouts used for next/previous layout cycle ([] = default).
tiling_cycle = [
    "vertical-left",
    "vertical-right",
    "horizontal-top",
    "horizontal-bottom",
]

leukipp avatar Nov 02 '24 18:11 leukipp