forge
Explore
Log in

Don't you dare go Hollow

default-config: Bind Mod+Shift+R to switch-preset-column-width-back by default

Browse files at this commit

f1cb02cfabe8d6fa24a5a488246c8ea7fa218054Ivan MolodetskikhParent: 5dc4e83
Height presets aren't frequently needed in my experience, but switching
preset width back is very useful on 21:9 and wider monitors where you
have many more presets.
docs/wiki/Configuration:-Layout.mdmodified+2 -2
@@ -177,7 +177,7 @@ layout {
177177 ### `preset-column-widths`
178178
179179 Set the widths that the `switch-preset-column-width` action (Mod+R) toggles between.
180-<sup>Since: 25.08</sup> You can use the `switch-preset-column-width-back` action (not bound by default) to toggle in reverse.
180+<sup>Since: 25.08</sup> You can use the `switch-preset-column-width-back` action (Mod+Shift+R) to toggle in reverse.
181181
182182 `proportion` sets the width as a fraction of the output width, taking gaps into account.
183183 For example, you can perfectly fit four windows sized `proportion 0.25` on an output, regardless of the gaps setting.
@@ -229,7 +229,7 @@ layout {
229229
230230 <sup>Since: 0.1.9</sup>
231231
232-Set the heights that the `switch-preset-window-height` action (Mod+Shift+R) toggles between.
232+Set the heights that the `switch-preset-window-height` action (Mod+Ctrl+Shift+R) toggles between.
233233 <sup>Since: 25.08</sup> You can use the `switch-preset-window-height-back` action (not bound by default) to toggle in reverse.
234234
235235 `proportion` sets the height as a fraction of the output height, taking gaps into account.
resources/default-config.kdlmodified+6 -3
@@ -134,7 +134,7 @@ layout {
134134 // fixed 1920
135135 }
136136
137- // You can also customize the heights that "switch-preset-window-height" (Mod+Shift+R) toggles between.
137+ // You can also customize the heights that "switch-preset-window-height" (Mod+Ctrl+Shift+R) toggles between.
138138 // preset-window-heights { }
139139
140140 // You can change the default width of the new windows.
@@ -550,11 +550,14 @@ binds {
550550 // Expel the bottom window from the focused column to the right.
551551 Mod+Period { expel-window-from-column; }
552552
553+ // Cycle through widths set in preset-column-widths.
553554 Mod+R { switch-preset-column-width; }
554555 // Cycling through the presets in reverse order is also possible.
555- // Mod+R { switch-preset-column-width-back; }
556- Mod+Shift+R { switch-preset-window-height; }
556+ Mod+Shift+R { switch-preset-column-width-back; }
557+
558+ Mod+Ctrl+Shift+R { switch-preset-window-height; }
557559 Mod+Ctrl+R { reset-window-height; }
560+
558561 Mod+F { maximize-column; }
559562 Mod+Shift+F { fullscreen-window; }
560563