From 599db847f857b8a7ff78ce02f15acab5d5d9fee1 Mon Sep 17 00:00:00 2001 From: Emir Karamehmetoglu Date: Tue, 7 Apr 2026 13:25:55 +0200 Subject: [PATCH] Docs: document reverse switching functionality introduced in #1670 (#3782) * document the reverse switching functionality introduced in #1670 Toggling in reverse through preset widths & heights was added in #1670. However, it's really difficult to find in the docs. The sole exception is a comment in the default config.kdl, but that only documents one of the new settings (width). I had to open up `bindings.rs` on github source code to even find the right setting for the other. This information should be available in the docs or config somewhere. ## Alternatives Considered I considered documenting the preset-toggling functionality, including reverse toggling, in `bindings` wiki, but then the original (non-reversed) toggling would be documented in multiple places. More importantly, bindings seems to be a guide on how to set bindings, not what actions are available for use with bindings. * Update docs/wiki/Configuration:-Layout.md * Update docs/wiki/Configuration:-Layout.md --------- Co-authored-by: Ivan Molodetskikh --- docs/wiki/Configuration:-Layout.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/wiki/Configuration:-Layout.md b/docs/wiki/Configuration:-Layout.md index 836ac439..c61b5cb0 100644 --- a/docs/wiki/Configuration:-Layout.md +++ b/docs/wiki/Configuration:-Layout.md @@ -177,6 +177,7 @@ layout { ### `preset-column-widths` Set the widths that the `switch-preset-column-width` action (Mod+R) toggles between. +Since: 25.08 You can use the `switch-preset-column-width-back` action (not bound by default) to toggle in reverse. `proportion` sets the width as a fraction of the output width, taking gaps into account. For example, you can perfectly fit four windows sized `proportion 0.25` on an output, regardless of the gaps setting. @@ -229,6 +230,7 @@ layout { Since: 0.1.9 Set the heights that the `switch-preset-window-height` action (Mod+Shift+R) toggles between. +Since: 25.08 You can use the `switch-preset-column-width-back` action (not bound by default) to toggle in reverse. `proportion` sets the height as a fraction of the output height, taking gaps into account. The default preset heights are 1⁄3, 1⁄2 and 2⁄3 of the output.