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 {
177 ### `preset-column-widths`177 ### `preset-column-widths`
178 178
179 Set the widths that the `switch-preset-column-width` action (Mod+R) toggles between.179 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.
181 181
182 `proportion` sets the width as a fraction of the output width, taking gaps into account.182 `proportion` sets the width as a fraction of the output width, taking gaps into account.
183 For example, you can perfectly fit four windows sized `proportion 0.25` on an output, regardless of the gaps setting.183 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 {
229 229
230 <sup>Since: 0.1.9</sup>230 <sup>Since: 0.1.9</sup>
231 231
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.
233 <sup>Since: 25.08</sup> You can use the `switch-preset-window-height-back` action (not bound by default) to toggle in reverse.233 <sup>Since: 25.08</sup> You can use the `switch-preset-window-height-back` action (not bound by default) to toggle in reverse.
234 234
235 `proportion` sets the height as a fraction of the output height, taking gaps into account.235 `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 {
134 // fixed 1920134 // fixed 1920
135 }135 }
136 136
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.
138 // preset-window-heights { }138 // preset-window-heights { }
139 139
140 // You can change the default width of the new windows.140 // You can change the default width of the new windows.
@@ -550,11 +550,14 @@ binds {
550 // Expel the bottom window from the focused column to the right.550 // Expel the bottom window from the focused column to the right.
551 Mod+Period { expel-window-from-column; }551 Mod+Period { expel-window-from-column; }
552 552
553+ // Cycle through widths set in preset-column-widths.
553 Mod+R { switch-preset-column-width; }554 Mod+R { switch-preset-column-width; }
554 // Cycling through the presets in reverse order is also possible.555 // Cycling through the presets in reverse order is also possible.
555- // Mod+R { switch-preset-column-width-back; }556+ Mod+Shift+R { switch-preset-column-width-back; }
556- Mod+Shift+R { switch-preset-window-height; }557+
558+ Mod+Ctrl+Shift+R { switch-preset-window-height; }
557 Mod+Ctrl+R { reset-window-height; }559 Mod+Ctrl+R { reset-window-height; }
560+
558 Mod+F { maximize-column; }561 Mod+F { maximize-column; }
559 Mod+Shift+F { fullscreen-window; }562 Mod+Shift+F { fullscreen-window; }
560 563