aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-02-17 21:01:10 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2024-02-17 21:01:10 +0400
commit85be5f746cd0104eb83c73b228348a1125155a94 (patch)
tree518e7cc2f728e9ad0641ce3d51dea0dbd282b911 /resources
parentdd7362913ec98b1d9a8b5a133044f00324ad5dc7 (diff)
downloadniri-85be5f746cd0104eb83c73b228348a1125155a94.tar.gz
niri-85be5f746cd0104eb83c73b228348a1125155a94.tar.bz2
niri-85be5f746cd0104eb83c73b228348a1125155a94.zip
default-config: Clarify how indexed workspace access works
Diffstat (limited to 'resources')
-rw-r--r--resources/default-config.kdl8
1 files changed, 8 insertions, 0 deletions
diff --git a/resources/default-config.kdl b/resources/default-config.kdl
index 5d5c7c5d..a2780efa 100644
--- a/resources/default-config.kdl
+++ b/resources/default-config.kdl
@@ -400,6 +400,14 @@ binds {
Mod+Shift+U { move-workspace-down; }
Mod+Shift+I { move-workspace-up; }
+ // You can refer to workspaces by index. However, keep in mind that
+ // niri is a dynamic workspace system, so these commands are kind of
+ // "best effort". Trying to refer to a workspace index bigger than
+ // the current workspace count will instead refer to the bottommost
+ // (empty) workspace.
+ //
+ // For example, with 2 workspaces + 1 empty, indices 3, 4, 5 and so on
+ // will all refer to the 3rd workspace.
Mod+1 { focus-workspace 1; }
Mod+2 { focus-workspace 2; }
Mod+3 { focus-workspace 3; }