summaryrefslogtreecommitdiff
path: root/sway/commands.c
diff options
context:
space:
mode:
authorRyan Dwyer <[email protected]>2018-04-23 13:04:16 +1000
committerRyan Dwyer <[email protected]>2018-04-23 18:54:45 +1000
commitd956286b92a71accb2ac6c895b51502a3eab3bcd (patch)
tree4f1eb4809d4ebc00d0ae4b734337e6afb4b48081 /sway/commands.c
parent778b90d13e9b78c980ae17c6fc0eb0e93e1d2ac5 (diff)
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[] = {
{ "move", cmd_move },
{ "opacity", cmd_opacity },
{ "reload", cmd_reload },
+ { "rename", cmd_rename },
{ "resize", cmd_resize },
{ "split", cmd_split },
{ "splith", cmd_splith },