aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorMatt Cuneo <m@cuneo.au>2023-12-19 19:25:05 +1100
committerGitHub <noreply@github.com>2023-12-19 00:25:05 -0800
commitd6b62ad09d049524b5c734f90ea86f6252d32088 (patch)
tree45d38c0b86c4946c60f7165daa983d142bf9a5a4 /resources
parentd155f5cd6c1a8c6a6e2b7259a8b0cee3187941ac (diff)
downloadniri-d6b62ad09d049524b5c734f90ea86f6252d32088.tar.gz
niri-d6b62ad09d049524b5c734f90ea86f6252d32088.tar.bz2
niri-d6b62ad09d049524b5c734f90ea86f6252d32088.zip
Add optional fallback to workspace focus/move for window focus/move (#93)
* Add optional fallback to workspace focus/move for window focus/move commands * Refactored to separate commands * fix indentation * fix white space * Stylistic fixes --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
Diffstat (limited to 'resources')
-rw-r--r--resources/default-config.kdl7
1 files changed, 7 insertions, 0 deletions
diff --git a/resources/default-config.kdl b/resources/default-config.kdl
index 3e10b34b..57083885 100644
--- a/resources/default-config.kdl
+++ b/resources/default-config.kdl
@@ -167,6 +167,13 @@ binds {
Mod+Ctrl+Up { move-window-up; }
Mod+Ctrl+Right { move-column-right; }
+ // Alternative commands that move across workspaces when reaching
+ // the first or last window in a column.
+ // Mod+J { focus-window-or-workspace-down; }
+ // Mod+K { focus-window-or-workspace-up; }
+ // Mod+Ctrl+J { move-window-down-or-to-workspace-down; }
+ // Mod+Ctrl+K { move-window-up-or-to-workspace-up; }
+
Mod+Shift+H { focus-monitor-left; }
Mod+Shift+J { focus-monitor-down; }
Mod+Shift+K { focus-monitor-up; }