From 55692c166795142419ffc2ce57cbdc0a84a61be7 Mon Sep 17 00:00:00 2001 From: Stefan Hagen Date: Sun, 5 Feb 2017 18:57:44 +0100 Subject: [PATCH] Explaing the workspace number "1: www" behavior (#2674) The documentation did not explain how workspace number `"1: www"` is working. Related to #2663 Rephrase to cover the creation case --- docs/userguide | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/userguide b/docs/userguide index 584edc80..69eeda35 100644 --- a/docs/userguide +++ b/docs/userguide @@ -2090,6 +2090,23 @@ i3-msg 'rename workspace to "2: mail"' bindsym $mod+r exec i3-input -F 'rename workspace to "%s"' -P 'New name: ' -------------------------------------------------------------------------- +If you want to rename workspaces on demand while keeping the navigation stable, +you can use a setup like this: + +*Example*: +------------------------- +bindsym $mod+1 workspace number "1: www" +bindsym $mod+2 workspace number "2: mail" +... +------------------------- + +If a workspace does not exist, the command +workspace number "1: mail"+ will +create workspace "1: mail". + +If a workspace with number 1 does already exist, the command will switch to this +workspace and ignore the text part. So even when the workspace has been renamed +to "1: web", the above command will still switch to it. + === Moving workspaces to a different screen See <> for how to move a container/workspace to a different -- 2.39.2