From d956286b92a71accb2ac6c895b51502a3eab3bcd Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Mon, 23 Apr 2018 13:04:16 +1000 Subject: 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 --- sway/commands.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sway/commands.c') 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 }, -- cgit v1.2.3