forge
Explore
Log in

Don't you dare go Hollow

default-config: Clarify how indexed workspace access works

Browse files at this commit

85be5f746cd0104eb83c73b228348a1125155a94Ivan MolodetskikhParent: dd73629
resources/default-config.kdlmodified+8 -0
@@ -400,6 +400,14 @@ binds {
400 Mod+Shift+U { move-workspace-down; }400 Mod+Shift+U { move-workspace-down; }
401 Mod+Shift+I { move-workspace-up; }401 Mod+Shift+I { move-workspace-up; }
402 402
403+ // You can refer to workspaces by index. However, keep in mind that
404+ // niri is a dynamic workspace system, so these commands are kind of
405+ // "best effort". Trying to refer to a workspace index bigger than
406+ // the current workspace count will instead refer to the bottommost
407+ // (empty) workspace.
408+ //
409+ // For example, with 2 workspaces + 1 empty, indices 3, 4, 5 and so on
410+ // will all refer to the 3rd workspace.
403 Mod+1 { focus-workspace 1; }411 Mod+1 { focus-workspace 1; }
404 Mod+2 { focus-workspace 2; }412 Mod+2 { focus-workspace 2; }
405 Mod+3 { focus-workspace 3; }413 Mod+3 { focus-workspace 3; }