aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands.c
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-04-23 13:04:16 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-04-23 18:54:45 +1000
commitd956286b92a71accb2ac6c895b51502a3eab3bcd (patch)
tree4f1eb4809d4ebc00d0ae4b734337e6afb4b48081 /sway/commands.c
parentMerge pull request #1846 from RyanDwyer/fullscreen-xwayland-unmanaged (diff)
downloadsway-d956286b92a71accb2ac6c895b51502a3eab3bcd.tar.gz
sway-d956286b92a71accb2ac6c895b51502a3eab3bcd.tar.zst
sway-d956286b92a71accb2ac6c895b51502a3eab3bcd.zip
Implement rename workspace command
This implements the following commands: * rename workspace to new_name * rename workspace old_name to new_name * rename workspace number n to new_name
Diffstat (limited to 'sway/commands.c')
-rw-r--r--sway/commands.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 2115bd8c..6af3c5d0 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -167,6 +167,7 @@ static struct cmd_handler command_handlers[] = {
167 { "move", cmd_move }, 167 { "move", cmd_move },
168 { "opacity", cmd_opacity }, 168 { "opacity", cmd_opacity },
169 { "reload", cmd_reload }, 169 { "reload", cmd_reload },
170 { "rename", cmd_rename },
170 { "resize", cmd_resize }, 171 { "resize", cmd_resize },
171 { "split", cmd_split }, 172 { "split", cmd_split },
172 { "splith", cmd_splith }, 173 { "splith", cmd_splith },