From ca77646de6463c72f4d67860322db8dd852df8d9 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Thu, 25 Aug 2011 14:11:31 +0200 Subject: [PATCH] docs/userguide: add paragraph about named workspaces, discourage use of 'ipc-socket' --- docs/userguide | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/docs/userguide b/docs/userguide index 158ed553..e61c254c 100644 --- a/docs/userguide +++ b/docs/userguide @@ -611,7 +611,8 @@ The IPC socket is enabled by default and will be created in of i3. You can override the default path through the environment-variable +I3SOCK+ or -by specifying the +ipc-socket+ directive. +by specifying the +ipc-socket+ directive. This is discouraged, though, since i3 +does the right thing by default. *Examples*: ---------------------------- @@ -748,7 +749,7 @@ bindsym mod+l move up bindsym mod+semicolon move right ---------------------- -=== Changing workspaces/moving containers to workspaces +=== Changing (named) workspaces/moving to workspaces To change to a specific workspace, use the +workspace+ command, followed by the number or name of the workspace. To move containers to specific workspaces, use @@ -770,6 +771,32 @@ bindsym mod+Shift+2 move workspace 2 ... ------------------------- +==== Named workspaces + +Workspaces are identified by their name. So, instead of using numbers in the +workspace command, you can use an arbitrary name: + +*Example*: +------------------------- +bindsym mod+1 workspace mail +... +------------------------- + +If you want the workspace to have a number *and* a name, just prefix the +number, like this: + +*Example*: +------------------------- +bindsym mod+1 workspace 1: mail +bindsym mod+2 workspace 2: www +... +------------------------- + +Note that the workspace will really be named "1: mail". i3 treats workspace +names beginning with a number in a slightly special way. Normally, named +workspaces are ordered the way they appeared. When they start with a number, i3 +will order them numerically. + [[resizingconfig]] === Resizing containers/windows