]> git.sur5r.net Git - i3/i3/blobdiff - docs/userguide
introduce new command to rename focused workspace
[i3/i3] / docs / userguide
index 72555b53d1fe0505712c7d29e7ee362a65b3d8b2..f78b4913c614f688d6c82c6582ec2d84a30f0dca 100644 (file)
@@ -1503,19 +1503,24 @@ specify a default name if there's currently no workspace starting with a "1".
 
 You can rename workspaces. This might be useful to start with the default
 numbered workspaces, do your work, and rename the workspaces afterwards to
-reflect what’s actually on them.
+reflect what’s actually on them. You can also omit the old name to rename
+the currently focused workspace. This is handy if you wan't to use the
+rename command with +i3-input+.
 
 *Syntax*:
 ----------------------------------------------------
 rename workspace <old_name> to <new_name>
+rename workspace to <new_name>
 ----------------------------------------------------
 
 *Examples*:
-------------------------------------------------
+--------------------------------------------------------------------------
 i3-msg 'rename workspace 5 to 6'
 i3-msg 'rename workspace 1 to "1: www"'
 i3-msg 'rename workspace "1: www" to "10: www"'
-------------------------------------------------
+i3-msg 'rename workspace to "2: mail"
+bindsym $mod+r exec i3-input -F 'rename workspace to %s' -P 'New name: '
+--------------------------------------------------------------------------
 
 === Moving containers/workspaces to RandR outputs