From d6b62ad09d049524b5c734f90ea86f6252d32088 Mon Sep 17 00:00:00 2001 From: Matt Cuneo Date: Tue, 19 Dec 2023 19:25:05 +1100 Subject: 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 --- resources/default-config.kdl | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'resources') 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; } -- cgit