aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-11-11 17:56:35 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2024-11-11 17:56:35 +0300
commit97fe964e000ddff1f368726149a00de5b7681d50 (patch)
tree0f8c04025f3ca63feef5e7d8e7f663695c426c66 /resources
parent9debb5db2385fd21c33ecc4b3c331ec3f6e8fbb4 (diff)
downloadniri-97fe964e000ddff1f368726149a00de5b7681d50.tar.gz
niri-97fe964e000ddff1f368726149a00de5b7681d50.tar.bz2
niri-97fe964e000ddff1f368726149a00de5b7681d50.zip
Make consume-or-expel binds more prominent
I find myself using them much more than regular consume or expel.
Diffstat (limited to 'resources')
-rw-r--r--resources/default-config.kdl10
1 files changed, 6 insertions, 4 deletions
diff --git a/resources/default-config.kdl b/resources/default-config.kdl
index 6a89f1b1..e3f06f49 100644
--- a/resources/default-config.kdl
+++ b/resources/default-config.kdl
@@ -441,15 +441,17 @@ binds {
// Switches focus between the current and the previous workspace.
// Mod+Tab { focus-workspace-previous; }
+ // The following binds move the focused window in and out of a column.
+ // If the window is alone, they will consume it into the nearby column to the side.
+ // IF the window is already in a column, they will expel it out.
+ Mod+BracketLeft { consume-or-expel-window-left; }
+ Mod+BracketRight { consume-or-expel-window-right; }
+
// Consume one window from the right into the focused column.
Mod+Comma { consume-window-into-column; }
// Expel one window from the focused column to the right.
Mod+Period { expel-window-from-column; }
- // There are also commands that consume or expel a single window to the side.
- Mod+BracketLeft { consume-or-expel-window-left; }
- Mod+BracketRight { consume-or-expel-window-right; }
-
Mod+R { switch-preset-column-width; }
Mod+Shift+R { switch-preset-window-height; }
Mod+Ctrl+R { reset-window-height; }