Change expel-window-from-column to expel the bottom window

This way, expel becomes symmetric with consume. This is also how it
works in PaperWM. Though, in PaperWM if the expelled window was focused,
it will remain focused, while in this commit it is never focused, making
it the exact opposite of consume.

Use consume-or-expel-window-right for the old expel behavior.
This commit is contained in:
Ivan Molodetskikh
2024-11-11 18:05:50 +03:00
parent 97fe964e00
commit 17861e0003
2 changed files with 9 additions and 11 deletions

View File

@@ -447,9 +447,9 @@ binds {
Mod+BracketLeft { consume-or-expel-window-left; }
Mod+BracketRight { consume-or-expel-window-right; }
// Consume one window from the right into the focused column.
// Consume one window from the right to the bottom of the focused column.
Mod+Comma { consume-window-into-column; }
// Expel one window from the focused column to the right.
// Expel the bottom window from the focused column to the right.
Mod+Period { expel-window-from-column; }
Mod+R { switch-preset-column-width; }