introduce new command to rename focused workspace
The corresponding command is 'rename workspace to <name>'. As a side-effect this fixes the command 'rename workspace 1 to to'. Signed-off-by: Michael Walle <michael@walle.cc>
This commit is contained in:
committed by
Michael Stapelberg
parent
2f90321d16
commit
ae14fe9141
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user