From 8cd7f0171ad8ffc4ce490f6f4b18522cb178c951 Mon Sep 17 00:00:00 2001 From: Brian Ashworth Date: Tue, 19 Mar 2019 23:07:32 -0400 Subject: cmd_mode: allow cmd_set to be a subcommand This allows set to be used in mode blocks --- sway/commands/mode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sway/commands') diff --git a/sway/commands/mode.c b/sway/commands/mode.c index 3e0ee80c..ef2c5d79 100644 --- a/sway/commands/mode.c +++ b/sway/commands/mode.c @@ -13,7 +13,8 @@ static struct cmd_handler mode_handlers[] = { { "bindcode", cmd_bindcode }, { "bindswitch", cmd_bindswitch }, - { "bindsym", cmd_bindsym } + { "bindsym", cmd_bindsym }, + { "set", cmd_set }, }; struct cmd_results *cmd_mode(int argc, char **argv) { -- cgit v1.2.3